| Summary: | search page should honor canCreateTaskFromKey when invoked from task list | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||
| Status: | CLOSED MOVED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | steffen.pingel | ||||
| Version: | unspecified | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Ehrnhoefer
I wont have time currently to provide a patch, also not entirely sure on how to fix this (due to the repository being able to change, and thus the enablement, but the task key field content remains the same).
Also not sure if one goes through the list of repos, reaches one that can't do that lookup, and the field gets clears, it's weird, especially if he did not intent to query that repository.
Maybe disablement of that key field should lead to not disabling the query page controls? That would mean changing line 221 from
@if (keyText.getText() != null && keyText.getText().trim().length() > 0) {@
to
@if (keyText.getText() != null && keyText.getText().trim().length() > 0 && keyText.isEnabled()) {@
It appears updatePageEnablement is called after the right values are set and the right query page is displayed, so that could work.
Created attachment 205144 [details]
mylyn/context/zip
Thanks Thomas. That needs to be fixed. We should also improve validation of search keys while looking at this. Gerrit for instance allows searching for non numeric ids which are currently ignored when opening the page. Steffen: Not a plan item? I have removed the plan keyword. This must have dropped from the release to the release backlog. Now it's back in the backlog. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |