Please file a bug report if you are still experiencing this problem and include these details: Is the date that is displayed on the planning tab of the task editor editable? Are due dates of local tasks that are in the past colored in red? Does your connector override AbstractRepositoryConnector.hasRepositoryDueDate()?
Thanks. Steffen On Tue, Apr 14, 2009 at 6:39 AM, Dominik Hirt <[email protected]> wrote: > Hi, > > tasks with a due date in the past are not colored in my task list. > I create a taskData object with -beside others- the following task attribute: > > TaskAttribute[id=due,values=[31.03.09],options=null,metaData={task.meta.readOnly=true, > task.meta.type=date, task.meta.label=Due date:}] > > My AttributeMapper contains a statement like this > > else if (key.equals(TaskAttribute.DATE_DUE)) > { > result = "due"; > } > > and converting rules for dates like > > �...@override > public Date getDateValue(TaskAttribute attribute) > { > Date result = null; > try > { > SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yy"); > result = sdf.parse(attribute.getValue()); > } > catch (Exception ex) > { > //ex.printStackTrace(); > } > return result; > } > > If I open the task from the task list, then the due date widget on the > planning tab is properly filled with the right date value. > But the task itself remains black -like all others- within the task list. > > Any ideas, what I have to do ? > > Kind regards > Dominik > _______________________________________________ > mylyn-integrators mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > -- Steffen Pingel Committer, http://eclipse.org/mylyn Senior Developer, http://tasktop.com _______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
