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 124220 - Unintuitive that CASA editor display not up-to-date unless project (re-)built
Summary: Unintuitive that CASA editor display not up-to-date unless project (re-)built
Status: REOPENED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
: 124221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-18 19:43 UTC by aegloff
Modified: 2008-10-23 19:51 UTC (History)
3 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 aegloff 2007-12-18 19:43:34 UTC
When opening the CASA editor the display may not reflect the current state of the projects the composite application 
contains - without any indications to the user. It may require a (re)build before the display is refershed and up to 
date. The user has to know that they have to do this explicit step, it is not intuitive. This is not acceptable for a 
production release.

If an editor needs other projects to be built to show anything useful or the latest it should either provide some 
indication/guidance as to that a build might be required - or automatically do the builds so it can display the latest 
state.

The ideal solution would be that CASA does not require the other projects to be built (does not use a binary interface 
but is aware of the endpoints directly without build), but even with the current limitations of a binary interface we 
must improve this experience.
Comment 1 aegloff 2007-12-18 19:50:45 UTC
*** Issue 124221 has been marked as a duplicate of this issue. ***
Comment 2 Jun Qian 2008-03-05 09:44:02 UTC
Fixed to keep CASA up to date with the SU projects. 

Explicit project build is still required. Visual indication ("?" in the SU widget title) indicates that the project
needs a rebuild.
Comment 3 deepakhp 2008-03-30 07:09:34 UTC
Assigned to Sunil B for verification
Comment 4 deepakhp 2008-03-31 09:55:09 UTC
"?" appears only when a new SU is added to the Composite App.
Any change to the SU (Say If I add one more port/bpel process to the existing Bpel module) is not reflected, unless the
Composite App project is rebuilt.
Is this the expected behavior?
Comment 5 Jun Qian 2008-10-22 00:42:17 UTC
Yes, that's the expected behavior.
Comment 6 schmandt 2008-10-22 01:11:06 UTC
  I confirmed with Jun that as Deepak had questioned, this is 
indeed working as designed.  e.g. when i first drag a bpel project
into the casa canvass "JBI Modules" section, it has a "?" on the project
icon, no links are shown.  After i build the Comp App, the ? goes away
and the links appear.

  I go back to the BPEL module and modify it (change the bpel code
in the bpel editor and 'save').  

  Presumably the Comp App may now be considered 'stale' ie it does not
match the current bpel project code until it is rebuilt.

  This state change is still not indicated in the CASA editor.
 
  It appears to me that part of the stated requirement was fulfilled but
maybe not everything, so I'm marking this issue as verified (because it works correctly
as designed and coded) but I'm also assigning to the originator because he should
evaluate whether this change is enough to satisfy his requirement.  If not i suggest
that he should negotiate with Jun & open a new issue or reopen this one if not
satisfied.

   OK, it's not clear how to reassign the issue so I'll add aegloff to the cc list
he will probably get two emails about this, it's up to him to take any action if
he does not like this solution.  Note we got no response the deepak's question on whether the
fix satisfied him or not.
Comment 7 aegloff 2008-10-23 18:28:35 UTC
The original problem has not been addressed, that is: a user should either receive a clear indication that their current
CASA view needs updating, or it needs to update it automatically. Otherwise users get easily confused about the
inconsistent views, it is NOT obvious to everyone that a re-build is required every time someone goes back to the CASA
view to ensure a consistent view.

I understand that with the current implementation it is challenging to detect this, so maybe we should look into what it
would in terms of enhancements in the project for CASA to be able to detect this. 

That it works as designed never justifies usability issues like this. If the design does not meet the expectations of
our users it is a bug, whether the deficiency lies in the gathered requirements, design or implementation it doesn't matter.

Please do not close this issue unless it has been resolved. If you want to lower the priority please negotiate with PM.
Comment 8 schmandt 2008-10-23 19:51:08 UTC
additional note from andi:

BTW I don't think this issue should hold up the GlassFish ESB release, so I"m ok with whatever is needed to do to move
this out to a subsequent release, e.g. lowering priority temporarily.
Andi

So now I'm lowering to p3 because we are after code freeze and I'm not too sure dev
can fix this immediately.  We need to make sure not to break anything else and
take the time to do this right if we make further changes.

Dev, please discuss with Andi if you need help to understand his requirement or if there are
reasons it's very hard to do exactly what he wants.