| Summary: | custom fields, which have drop down in web gui do not have one in mylar | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Missing name <soloturn> | ||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | dev | ||||||
| Target Milestone: | 2.0 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 160389, 170862, 174358 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Missing name
Yes, that would be great. Recent versions of Trac's XmlRpc plugin allow to retrieve information about ticket custom fields (see http://trac-hacks.org/ticket/651) but this API is currently not used by Mylar. This will require revision 1278 of the XML-RPC Plugin that adds ticket.getTicketFields(). I am not sure if this helps, but when using trac, and I try to update all the fields (milestone, status, etc) I dont get any values for any of the fields and the error that is given is: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: ) at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3181) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2936) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.mylar.tasks.ui.AbstractRepositoryConnectorUi.openEditQueryDialog(AbstractRepositoryConnectorUi.java:80) at org.eclipse.mylar.tasks.ui.TasksUiUtil.refreshAndOpenTaskListElement(TasksUiUtil.java:227) at org.eclipse.mylar.internal.tasks.ui.actions.TaskListElementPropertiesAction.run(TaskListElementPropertiesAction.java:45) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.IllegalArgumentException: at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46) at org.eclipse.core.runtime.Status.setMessage(Status.java:178) at org.eclipse.core.runtime.Status.<init>(Status.java:85) at org.eclipse.mylar.internal.trac.core.TracStatus.<init>(TracStatus.java:29) at org.eclipse.mylar.internal.trac.core.TracCorePlugin.toStatus(TracCorePlugin.java:87) at org.eclipse.mylar.internal.trac.ui.TracUiPlugin.handleTracException(TracUiPlugin.java:60) at org.eclipse.mylar.internal.trac.ui.wizard.TracCustomQueryPage.updateAttributesFromRepository(TracCustomQueryPage.java:442) at org.eclipse.mylar.internal.trac.ui.wizard.TracCustomQueryPage.initializePage(TracCustomQueryPage.java:384) at org.eclipse.mylar.internal.trac.ui.wizard.TracCustomQueryPage.access$5(TracCustomQueryPage.java:383) at org.eclipse.mylar.internal.trac.ui.wizard.TracCustomQueryPage$3.run(TracCustomQueryPage.java:370) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 36 more Mark, could you detail how the stack trace is related to this report? If it is not, please open a separate bug and include information about your Mylar, Trac and Eclipse version. Added combo boxes for custom fields. Checkbox fields are also displayed in a combo box. This needs to be fixed when bug 160389 has been resolved. Created attachment 61151 [details]
mylar/context/zip
Check boxes will be addressed as a separate issue. |