Bug 1063312
| Summary: | Modifying object type in Data modeler destroys inner classes | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Locker <jlocker> |
| Component: | Data Modeler | Assignee: | Walter Medvedeo <wmedvede> |
| Status: | CLOSED DUPLICATE | QA Contact: | Jiri Locker <jlocker> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0.0 | CC: | kverlaen, pzapataf |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-10 14:15:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jiri Locker
2014-02-10 13:43:09 UTC
Data modeler does NOT parse the code pushed externally, it just displays the result of a binary introspection. When saving, it will always regenerate the code, and therefore, losing any change outside the scope of the introspection (currently getters and setters). It doesn't currently do full code analysis and selective source code modification. To avoid this scenario of inadvertently overwriting externally modified code, controls were added in order to detect if a file was created/modified by an external tool, as explained at https://bugzilla.redhat.com/show_bug.cgi?id=1041760 If the file is externally modified, data modeler will only display it in read only mode, avoiding any modification. Any further change to the data model must be done by using the external tool. *** This bug has been marked as a duplicate of bug 1041760 *** |