This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot get owner, priority information from subclass of AbstractNbTaskWrapper | ||
---|---|---|---|
Product: | connecteddeveloper | Reporter: | jijwang |
Component: | Issuetracking Framework | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | attributemap has no owner, priority. |
Description
jijwang
2015-05-12 05:29:36 UTC
isn't priority and owner in your case also available via .getMappedAttribute ? No. owner and priority are not in the attributeMap when the table is drawn. The owner and priority are TaskTask attributes. The attributesMap only contains 6 items: token, bug_severity, task.common.product, delta_ts, product, Netbeans.task.unseen. Set a breakpoint in BugzillaIssueNode.getBugzillaIssue(). Perform a query. When it hits the breakpoint, step into IssueNode.getIssueData(). Check this.issueImpl.i.task.delegate Created attachment 153772 [details]
attributemap has no owner, priority.
> owner and priority are not in the attributeMap when the table is drawn. The
> owner and priority are TaskTask attributes. The attributesMap only contains
> 6 items: token, bug_severity, task.common.product, delta_ts, product,
> Netbeans.task.unseen.
hm, but those fields are rendered in the table with the correct values anyway ..
see BugzillaIssueNode.PriorityProperty.getValue()
that would be an entry point to find the mentioned .getMappedAttribute() method
as long as that works i see no reason to add new methods ...
|