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 95431 - Broken synchronization of XSLT mapper with schema
Summary: Broken synchronization of XSLT mapper with schema
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Yarmolenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 15:28 UTC by kozlov
Modified: 2007-08-09 16:22 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 kozlov 2007-02-13 15:28:44 UTC
Reproduced in build070213.

Steps to reproduce:

- create Xslt Project;
- add 2 schemas;
- create WSDL;
- create Xslt service;
- open any schema and add element;
- swith to XSLT mapper.

Mapper is not updated.
Comment 1 Alexey Yarmolenko 2007-02-13 16:27:16 UTC
Mapper is not listening to changes in related schema, wsdl and xsltmap files. 
This bug will be fixed in post-beta timeframe. 
Comment 2 Alexey Yarmolenko 2007-02-13 16:31:43 UTC
Mapper is not listening to changes in related schema, wsdl and xsltmap files. 
This bug will be fixed in post-beta timeframe. 
Comment 3 Alexey Yarmolenko 2007-02-13 16:37:23 UTC
Workaround: re-opening Transformation Editor results in showing the actual
version of schema file.

Comment 4 Sergey Lunegov 2007-02-14 14:37:28 UTC
The issue is related to interacion of XSL Transformation editor with models.
The fix in this area is pretty risky. Will not fix for Beta.
Comment 5 Alexey Yarmolenko 2007-02-14 16:43:35 UTC
Fix is quiet complicated. We have a function, which reloads the whole mapper
diagram. We can subscribe to changes in all models, like WSDL, schema, and call
this function each time when any of them changes, but we may got performance
problems and a lot of side effects. Also we should consider algorithm to
add/remove subscribers as soon as cross model references may change
Comment 6 astashkova 2007-02-16 17:48:02 UTC
Added to NB Enterprise Pack 5.5.1 Beta Release Notes
(http://nbstaging.czech.sun.com/community/releases/55/1/entpack_relnotes.html#95431).
Review needed.
Comment 7 Alexei Mokeev 2007-03-05 17:27:47 UTC
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Comment 8 Alexey Yarmolenko 2007-08-01 16:20:09 UTC
Bug fixed:

-ModelBridge refactored to carry only common functionality related to sync-ing mapper with xam model and reloading
mapper components.
-XslModeBridge and SchemaModelBridge added to handle domain-specific sync code
-Root node reload functionality factored out from modelBridge to tree models
Comment 9 kozlov 2007-08-09 16:22:56 UTC
Verified in build070808.