Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354179 - parsing of configuration fails for trac.edgewall.org
Summary: parsing of configuration fails for trac.edgewall.org
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 365033 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-08 15:41 EDT by Steffen Pingel CLA
Modified: 2011-12-01 06:55 EST (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (4.12 KB, application/octet-stream)
2011-08-10 06:09 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-08-08 15:41:34 EDT
Steps:
1. Create repository based on default template
2. Create query

An error is displayed:  Error parsing attributes: unexpected token '{'.
Comment 1 Steffen Pingel CLA 2011-08-10 06:09:06 EDT
The nested "optgroups" map is causing this problem: "milestone":{"label":"Milestone","optgroups":[{"label":"Open (by due date)","options":["0.13","0.12.3","0.14"]}...

We should consider using GSon instead of a custom parser.
Comment 2 Steffen Pingel CLA 2011-08-10 06:09:30 EDT
Created attachment 201226 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2011-10-15 08:20:38 EDT
Fixed in head. The parser now uses GSon with a fall-back to the previous parsing implementation in case of a failure.
Comment 4 Steffen Pingel CLA 2011-12-01 06:55:16 EST
*** Bug 365033 has been marked as a duplicate of this bug. ***