-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bug[WHAT] Something isn't working as expected. Automated tests beneficial. :-[WHAT] Something isn't working as expected. Automated tests beneficial. :-tools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.
Description
STR:
- Change a method
- Open a versions browser on it, so you have loaded a ChangeRecord pointing to the changes file into the image
- Save and quit the image
- From the outside of the image, rename image + changes file
- Open the renamed image
Result: Error: primSetPosition:to: failed
because the ChangeRecord in the versions browser still points to the old changes file name.
Workaround:
ChangeRecord allInstancesDo: [:ea |
ea instVarNamed: 'file' put: ((ea file localName endsWith: '.sources') ifTrue: [SourceFiles first] ifFalse: [SourceFiles second])].
Perhaps we need a shutDown/startUp sequence for this ... But sometimes pointers to absolute changes files might also be intended.
Metadata
Metadata
Assignees
Labels
bug[WHAT] Something isn't working as expected. Automated tests beneficial. :-[WHAT] Something isn't working as expected. Automated tests beneficial. :-tools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.