Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354179

Summary: parsing of configuration fails for trac.edgewall.org
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tc
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

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. ***