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 257749 - P2 bug target ignored
Summary: P2 bug target ignored
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Dashboard (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 08:13 UTC by Jiri Kovalsky
Modified: 2016-02-01 10:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing ignored P2 bugs limit for Groovy area. (20.84 KB, image/png)
2016-01-29 08:13 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2016-01-29 08:13:27 UTC
Created attachment 158279 [details]
Screenshot showing ignored P2 bugs limit for Groovy area.

It seems like target number set for P2 bugs is ignored and dashboard always expects 0 P2 bugs. See attached screenshots. For example in 8.2 dashboard Groovy has set 3 P2 bugs limit for Code Freeze bug tooltip still keeps showing 0 bugs at Code Freeze.
Comment 1 Vladimir Riha 2016-01-29 09:38:33 UTC
I need to look at it more carefully (today evening/tomorrow), but yes, the current code does following logic:

if(in high resistence)
 -> set P2 limit to 0
else
 if (next milestone === code freeze)
  -> set P2 limit to 0
 else
  -> set P2 limit based on the target number as specified

Since next milestone is code freeze, it forces the target number to 0.

Should I change this behavior in else block (of "in high resistence")  to always respect numbers specified in dashboard settings?

I guess there was a reason for this, but I admit I don't remember it :)
Comment 2 Jiri Kovalsky 2016-01-29 09:48:23 UTC
Yes, please do that Lado. I guess without the fix after few months mortal dashboard users would stare at ignored P2 target being confused just like I was yesterday. :) Thanks!
Comment 3 Vladimir Riha 2016-01-30 15:28:53 UTC
Fixed, not it will respect the specified targets.
Comment 4 Jiri Kovalsky 2016-02-01 10:44:23 UTC
Excellent. Thanks!