Hey Colin,

Thanks for the reporting this.  I chatted with some other team members
about this and one of them tracked down the bug that causes this
(thanks sky!).  The current belief is that this should only affect a
small number of users (ones that ran the latest code against an old
profile created during a small window of time on the dev channel), but
the fix should repair the damaged data.

Erik


On Tue, Oct 6, 2009 at 10:58 AM, Colin Bleckner <[email protected]> wrote:
> I think this is the right file, I pulled it from
> C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\Bookmarks:
>
> The "Googs" bookmark is the one I made yesterday (it has a valid id).
>
> {
>    "checksum": "f0d9f7dbdc6c35765ece2879878d19ed",
>    "roots": {
>       "bookmark_bar": {
>          "children": [ {
>             "date_added": "12864855784840114",
>             "id": "0",
>             "name": "Slashdot: News for nerds, stuff that matters",
>             "type": "url",
>             "url": "http://slashdot.org/";
>          }, {
>             "date_added": "12899260451774200",
>             "id": "3",
>             "name": "Googs",
>             "type": "url",
>             "url": "http://www.google.com/";
>          } ],
>          "date_added": "0",
>          "date_modified": "12899260451774200",
>          "id": "0",
>          "name": "Bookmarks bar",
>          "type": "folder"
>       },
>       "other": {
>          "children": [ {
>             "children": [ {
>                "date_added": "12864855666376114",
>                "id": "0",
>                "name": "my.foxmarks.com",
>                "type": "url",
>                "url": "http://my.foxmarks.com/";
>             } ],
>             "date_added": "12864855682500114",
>             "date_modified": "12864855784840114",
>             "id": "0",
>             "name": "New folder",
>             "type": "folder"
>          } ],
>          "date_added": "0",
>          "date_modified": "0",
>          "id": "0",
>          "name": "Other bookmarks",
>          "type": "folder"
>       }
>    },
>    "version": 1
> }
>
> Erik Kay wrote:
>
> That's pretty troubling.  Could you look at the Bookmarks JSON file in
> your profile directory and see if the "id" value is set on these
> entries?
>
> Erik
>
>
> On Mon, Oct 5, 2009 at 5:14 PM, Colin Bleckner <[email protected]> wrote:
>
>
> Here's something odd I just ran in to.  I started up a computer that I
> hadn't used in a month or so, updated Chrome (running on the developer
> branch), and started testing my extension.  I was running into a whole
> slew of problems and eventually discovered that all of the bookmarks
> returned from chrome.bookmarks.getTree() had a bookmark id of 0!
>
> I'm pretty sure that the last time I ran Chrome on that machine was
> before bookmark ids became persistent, so my hunch is that it has
> something to with old, old bookmarks getting updated to the latest
> version of Chrome.  Newly created bookmarks get a new (non-0) id just
> fine, so things seem to be working correctly (and it's probably not a
> huge deal going forward).  However, the root folder, Bookmarks bar and
> Other bookmarks folder are all still stuck at 0.  Any ideas about how I
> might get Chrome to reset these?
>
> Colin
>
> >
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to