gitax
gitax copied to clipboard
Renaming an object in AOT that is linked to a Project node does not update Project
Need to check if can be reproduced under other VCS control (like morphX or TFS)
Premises
- Both objects must be source controlled (previously added in AX source control)
- An AX object (like a class for instance) is part of projectB project node in AOT
- Project Node cannot be checked out
Steps
- Create classA under classes node
- Add classA to source control and checkin
- Create projectA under nodes
- Add classA under the projectA node
- Add projectA to source control and checkin
- Rename ClassA to ClassB
- Open projectA and verify the node got Changed
Expected
A change in the XPO: removed old object name, added new object name
Current
ProjectA will never get changed
Example expected result
diff --git a/Projects/Shared/GTX.xpo b/Projects/Shared/GTX.xpo
index 3ba4e0f..9d7f73f 100644
--- a/Projects/Shared/GTX.xpo
+++ b/Projects/Shared/GTX.xpo
@@ -93,6 +93,12 @@ Formatversion: 1
PreventEditProperties #No
ENDPROPERTIES
+ BEGINNODE
+ FILETYPE 0
+ UTILTYPE 45
+ NODETYPE 329
+ NAME #GTXDummyClass
+ ENDNODE
GROUP #Mocks
PROPERTIES
Name #Mocks
@@ -113,12 +119,6 @@ Formatversion: 1
FILETYPE 0
UTILTYPE 45
NODETYPE 329
- NAME #GTXDummy
- ENDNODE
- BEGINNODE
- FILETYPE 0
- UTILTYPE 45
- NODETYPE 329
NAME #GTXFileUtil
ENDNODE
BEGINNODE