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 87095 - Sometimes it's impossible to edit bpel for newly created project
Summary: Sometimes it's impossible to edit bpel for newly created project
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 13:52 UTC by Andrey Yamkovoy
Modified: 2007-01-11 20:58 UTC (History)
2 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 Andrey Yamkovoy 2006-10-13 13:52:47 UTC
Sometimes user can't edit bpel for newly created project. I can't find the 100% 
steps for reproduce, but it reproduced sometimes on 2 PCs.

Steps to reproduce:
- Create Synchronous Sample project.
- Open bpel diagram.
- Select some activity in palette drag it to diagram.
- Message "Cannot edit while diagram is readonly" appears near mouse pointer.
- Actually this file is not read only!

After restart IDE this bpel can be modified by user.
Comment 1 Michael Frisino 2006-11-20 14:01:50 UTC
Workaround is to close the file and open it again.

The BPEL logic is simply calling a XAM method isReadOnly. So we think problem
may be in this method.

Unfortunately, this condition is not easy to reprduce. We have not found a 100%
reproducible scenario. Maybe it is some race condition. It seems to appear most
when you are trying to give a demo :)

Are the XML modules using this API themselves? Have you seen this problem?
Comment 2 Chris Webster 2006-11-20 19:12:37 UTC
There is no XAM method called isReadOnly, perhaps this is only in the BPEL
Model? There is a method isEditable in ModelSource but the value is specified at
ModelSource creation time. 

Need more information here to proceed. 
Comment 3 Nam Nguyen 2007-01-11 20:58:11 UTC
Can't reproduce with current build.  Close as WORKFORME, please reopen with more
info if still reproducible.