Share

Cocoal.icio.us

Tracker: Bugs

5 Crashes when URL contains a question mark - ID: 2005913
Last Update: Tracker Item Submitted ( gothick )

I just tried Cocoalicious (both from normal distribution 1.0b45, and latest
CVS), and found that it crashed consistently when getting my bookmarks from
del.icio.us.

I ran it up in debug, and traced the problem as far as:

[cache setObject: currentPost forKey: URLString];

in
DCAPICache - (void) addPosts: (NSArray *) posts clean: (BOOL) clean

The key it's using, URLString, is empty.

Having looked at the two posts that were exhibiting the problem, they both
have a question mark in their URLs on del.icio.us -- they were:

http://www.urbandictionary.com/define.php?term=%s
http://discussions.apple.com/thread.jspa?messageID=3877372&#3877372

...so I'm guessing that might be the problem.

Unfortunately, I don't have the time to go track down the root cause at the
moment, but hopefully this might give someone with a bit more knowledge of
Cocoalicious enough clues to fix things.

In the meantime, I've just deleted those rather elderly posts of mine, and
Cocoalicious seems to be working fine for me.

Cheers,

Matt


Matt Gibson ( gothick ) - 2008-06-29 14:06

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.