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.

Bug 229473 - refresh query in the edit mode works unexpected
Summary: refresh query in the edit mode works unexpected
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 16:03 UTC by Ondrej Vrabec
Modified: 2013-06-03 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-05-07 16:03:27 UTC
1) open a query
2) click on modify
3) edit some attributes
4) now click on refresh without saving it or canceling changes first
What happens is kind of unexpected. The query returns tasks according to the selected fields in the query form but both in the Task Dashboard and in the query table. Since i assume they are meant to be temporary tasks, the query should not be refreshed in the Task Dashboard. Moreover with mylyn under the hood the new parameters are silently saved in the mylyn tasklist but not in NB bugzilla config, so we get inconsistent query setup.
I suggest either remove the refresh button from the edit mode or let it throw a confirmation dialog either to cancel or save changes prior to the actual refresh.
I had to fix the inconsistence: see core-main #031e8fd71a41 - when this is resolved i guess this WA can be removed.
Comment 1 Tomas Stupka 2013-06-03 14:16:08 UTC
fixed in core-main #bc58715b3941