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 28118 - Settings InstanceDataObject doesn't fire prop change (PROP_VALID) event when deleted its file.
Summary: Settings InstanceDataObject doesn't fire prop change (PROP_VALID) event when ...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2002-10-18 15:36 UTC by Peter Zavadsky
Modified: 2008-12-22 16:58 UTC (History)
1 user (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 Peter Zavadsky 2002-10-18 15:36:42 UTC
This problem leads to corrupted win sys, which
listens that way on instance objects and when
removed (module uninstall), it clears the
component from its persistence cache.
But this doesnt happen, so when reinstalled the
module back, the older invalid component is returned.

I've written a test for that. I'm going to chcek
it in and let you know then.
Comment 1 Peter Zavadsky 2002-10-18 16:23:49 UTC
Added failing test 
openide/../test/unit/../loaders/InstanceDataObjectTest#testFiringEventWhenDeleted
Comment 2 rmatous 2003-01-06 15:49:09 UTC
I don`t think, that attached test proves any bug. Cookies are returned
from valid IDO, despite the fact that you delete primary file. If you
call IDO.delete, then you can expect PROP_VALID. Marked as WONTFIX.
Comment 3 Marian Mirilovic 2003-07-28 15:32:03 UTC
verifying, closing.
Comment 4 pzajac 2004-06-28 10:32:28 UTC
The test is in failing test suite for long time. Please either delete
or fix this test. 
Comment 5 rmatous 2004-06-28 16:28:29 UTC
I hope that test should test PROP_VALID and not PROP_COOKIE. 

/cvs/openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java
new revision: 1.30; previous revision: 1.29

Marek, please verify.
Comment 6 Marian Mirilovic 2005-07-15 07:49:50 UTC
closed