You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking at how the RenamePathItemCommand_30 works to write its AaiChannel counterpart and I found this:
If I swap parameters (for any reason) their renaming part does not handle the conflicts and leaves several parameters with the same name instead of swapping their names, thus undoing the command does not restore the original document.
An example of the resulting undo
parameters:
-
name: beerIdschema:
type: stringin: pathrequired: true
-
name: beerIddescription: A unique identifier for a `Beer`.schema:
type: stringin: pathrequired: true
Here is a test suite, using 2 commands with an intermediate path makes the rename move parameters as expected but removing the temp path fails the test
Hello,
I was looking at how the RenamePathItemCommand_30 works to write its AaiChannel counterpart and I found this:
If I swap parameters (for any reason) their renaming part does not handle the conflicts and leaves several parameters with the same name instead of swapping their names, thus undoing the command does not restore the original document.
An example of the resulting undo
Here is a test suite, using 2 commands with an intermediate path makes the rename move parameters as expected but removing the temp path fails the test
datamodels-testpete.zip
The text was updated successfully, but these errors were encountered: