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.
Summary: | dataloss when creating servlet | ||
---|---|---|---|
Product: | javaee | Reporter: | Jan Horvath <jhorvath> |
Component: | DD Editor | Assignee: | Erno Mononen <emononen> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 93404 | ||
Bug Blocks: | 94383 |
Description
Jan Horvath
2007-02-02 16:50:06 UTC
It seems that only comments are lost, other data is preserved. In any case it a rather serious issue. It looks like now that the j2ee/ddloaders module is not enabled, changes to the WebApp are written using the Schema2BeansUtil#write method, which apparently does not preserve comments. If j2ee/ddloaders was enables, the changes would be written using the DDProviderDataObject#writeModel model, which does preserve comments. So, in short, this issue should be resolved when the j2ee/ddloaders module is re-enabled. I'm sorry my description wasn't clear enough. This happens with all elements, not only with comments. It was clear, but at first I couldn't reproduce it with other elements. But now I can reproduce it with other elements as well, I must have been doing something differently. This will be fixed when j2ee/ddloaders is re-enabled, which should happen in M8 => setting the TM accordingly. I tested this now that the ddloaders module is enabled, and it does seem to work correctly now. verified |