Trailing spaces after <bookmark> elements corrupt the config file.

Bug #695459 reported by Daniel Dinnyes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Confirmed
Medium
Unassigned

Bug Description

After I modify the bookmarks.xml file with an editor, sometimes the Bookmarks tab on the Welcome screen turns gray. The cause of this seems to be related to trailing spaces left in the config file. It happens inconsistently, sometimes with 3 trailing spaces but not with 2, sometimes with no trailing spaces at all but with a blank line with some spaces, etc. This seems to be an issue with the XML parsing. Please investigate.

Revision history for this message
Daniel Dinnyes (dadinn) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :

Something really wrong here. I get the same after manual editing of my bookmarks. My file is attached.

Changed in bzr-explorer:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Alexander Belchenko (bialix) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :

What's really weird here is the fact that when I open explorer again with the same bookmarks file -- then all working OK. So it seems like explorer is doing something wrong in runtime when we edit the file.

Changed in bzr-explorer:
importance: High → Medium
Revision history for this message
Alexander Belchenko (bialix) wrote :

Workaround: close + reopen explorer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.