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: | Reports are generated even for scanning canceled in < 3min treshold | ||
---|---|---|---|
Product: | editor | Reporter: | Tomas Danek <musilt2> |
Component: | Parsing & Indexing | Assignee: | Svata Dedic <sdedic> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, pjiricka |
Priority: | P2 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2013-05-28 09:46:36 UTC
This correction was done after consulting Tomas Z. as a response to issue #230086; see suggestions posted in that bug. Note that the delayed report actually collects statistics (and in 7.4 also self-profiles the IDE) until the report offer is displayed to the user, so the report would most probably contain some relevant data. The number of reports might be increased as some users cancel the scanning in order to disable or avoid the process entirely (which is forbidden) ok, thanks for clarification, I misunderstood the original point; it seemed to me unlikely that any valuable data will be generated after 3 minutes, if the original scanning at time of showing report dialog is not running any more. I guess you can close this, sorry for confusion. Oh, I overlooked the path: if the entire scanning takes < 3mins (or the threshold configured). Useless report will be posted in that case, indeed. Sorry for the misunderstanding. The fix should be fairly easy/non harmful. Ok, so to summarise - if someone will cancel running scanning at some point, data collection starts after 3 minutes if and only if scanning is still running, is that correct? If so, do you want this for 7.3.1.? I guess it makes sense to backport this... It does; once it is verified, it could be backported verified in custom trunk build, please backport to 7.3.1 Please backport as soon as possible, so we can start another (and hopefully the last) build. Thanks in advance. Backported in rev http://hg.netbeans.org/releases/rev/b9d3a582ef54, pending verification in 7.3.1 Integrated into 'releases', will be available in build *201305291404* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b9d3a582ef54 User: Svata Dedic <sdedic@netbeans.org> Log: #230369: delayed reports are not issued if the scan finishes during the threshold time [backport from trunk, d30dd94b45b9] Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d30dd94b45b9 User: Svata Dedic <sdedic@netbeans.org> Log: #230369: do not report finished scans - took less than .cancelTreshold secs verified in bits from staging UC. |