| Summary: | [Project explorer - Refactoring] Renaming a Papyrus model has many critical side-effects | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Camille Letavernier <cletavernier> | ||||
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Camille Letavernier <cletavernier> | ||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | benoit.maggi, papyrus-bugs, rschnekenburger | ||||
| Version: | 1.0.0 | ||||||
| Target Milestone: | M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | dx stable | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 402036 | ||||||
| Attachments: |
|
||||||
|
Description
Camille Letavernier
Still valid in 1.0.0 M7 Non-xmi files which have the same name prefix as a DI file being renamed, are deleted For XMI files, they seem to be deleted as well under some (unidentified) circumstances Created attachment 243196 [details]
Test model
Contains a set of files to test the "Rename" action, with various kinds of files and models
It contains:
- Papyrus model (di, notation, uml)
- Pure XML file (HTML)
- Standard text file (txt)
- XText/EMF model (CSS)
- Empty xmi model (xmi)
- XML/EMF model (XWT)
It currently crashes during the rename operation
Expected result: the contents of the files should remain the same
The test model from Comment 2 should also be used as a Copy/Paste test case (It currently fails as well). Especially, the html file is converted to an empty EMF resource. Moreover, copying the set of SubResources should make a file copy (not a model copy), and should leave the file contents 100% unchanged (This shouldn't update the URIs nor anything else). It currently does the same thing as a PapyrusFile copy Gerrit review: https://git.eclipse.org/r/#/c/26686/ The contribution has been merged to master I close the task |