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 167234 - Commit validation alters tested product
Summary: Commit validation alters tested product
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Commit Validation (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 13:09 UTC by Antonin Nebuzelsky
Modified: 2011-06-10 08:58 UTC (History)
4 users (show)

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 Antonin Nebuzelsky 2009-06-17 13:09:57 UTC
I installed 6.7 FCS using the build from tonight.

I accepted also the user registration and what I see in the inventory as
my registered instance of 6.7 is weird. The Host value of the
registration lists "hlemyzd-2.czech.sun.com" as my machine...

The assumption is that the production build process incorrectly generates
nb6.7/servicetag/registration.xml and zips it up to the installer. While
this should not be present in the build at all and the installer should
generate it for the user at the moment of installer execution.

The same problem was fixed for 6.5 FCS in the following changeset:
http://hg.netbeans.org/release65/rev/be02209a1c0b
Comment 1 Michal Zlamal 2009-06-17 13:26:39 UTC
http://hg.netbeans.org/release65/rev/be02209a1c0b is only workaround, it is not a real fix, the long standing issue is
that commit validation tests are modifying tested product.

Committed as http://hg.netbeans.org/release67/rev/551cf7d58c87

lowering to P2, changing to more appropriate subject and component
Comment 2 Marian Mirilovic 2009-06-17 13:40:02 UTC
fixed
Comment 3 dlipin 2009-06-18 12:29:25 UTC
Hm... we we again bump into this issue with 6.8 release?
Comment 4 mslama 2009-06-18 12:55:30 UTC
Variants:
1.Commit validation can delete this file at end or handle it another way like copy working set to temp dir run test on
it and then delete all working set.
2.Registration can be disabled on existing system property (netbeans.close) to avoid this.
3.Registration can be disabled on new dedicated system property.

Points 2 and 3 will disable registration code so if commit validation does any test of registration functionality it is
not possible. Need to discuss it with current commit validation test suite maintainer.
Comment 5 Marian Mirilovic 2011-06-10 08:58:37 UTC
v/c