Ticket #6 (new defect)

Opened 2 years ago

Last modified 2 years ago

Bridge does not store data from iTunes 6 server

Reported by: bfitzpa2 Assigned to: kbarnes3
Priority: critical Milestone:
Component: Bridge Version:
Keywords: Cc:

Description

The Bridge does not store data from an iTunes 6.0.5.20 server running on localhost. The Songs table is created but stores no data. The AddServerConnection? method is called from code, not as a result of a GUI action. Unknown if this also applies to our server implementation. This causes problems with the getSongStream method crashing during its call to the getRemoteLibraryId after int ret = result.GetInt?32(0) attempts to read from a result with no data.

Change History

02/25/07 03:51:43 changed by tulloss2

We need to make sure that we check values against dbnull before trying to extract values.

Eg.

if (!result.IsDBNull())

ret = result.GetInt?32(0);