XWIKI-21629: The step order displayed in inline edit is not consistent with the order from objects editor #3644
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira URL
https://jira.xwiki.org/browse/XWIKI-21629
Changes
Description
mathtool
.Screenshots & Video
On this first screenshot, we can see that the list displayed now starts as expected with the order 0.
![Screenshot from 2024-11-14 10-26-07](https://private-user-images.githubusercontent.com/28761965/386140564-4791ed0d-9790-44f7-be83-1c1f3e101d02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTUzMzEsIm5iZiI6MTczOTgxNTAzMSwicGF0aCI6Ii8yODc2MTk2NS8zODYxNDA1NjQtNDc5MWVkMGQtOTc5MC00NGY3LWJlODMtMWMxZjNlMTAxZDAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE3NTcxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3NGI5ZWFiNzM1ZWFjMDkzZjcyMDFmMzRhOTIyYzYzMmFjNDRlMGMzYTY2OWQ5Nzk1YjEzODZlOTNlMDJkMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xTNXnfjVPM_NrUMfKQ2cjfvCsdJ7BH9AY6uJ-dpFkDQ)
![Screenshot from 2024-11-14 10-36-37](https://private-user-images.githubusercontent.com/28761965/386140561-12635225-042d-4737-841e-04184e86d50a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTUzMzEsIm5iZiI6MTczOTgxNTAzMSwicGF0aCI6Ii8yODc2MTk2NS8zODYxNDA1NjEtMTI2MzUyMjUtMDQyZC00NzM3LTg0MWUtMDQxODRlODZkNTBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE3NTcxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmN2ZkOTc4ZWQyYTFlMTA5NzU5ZDViOTlmZjgyNGNjZTZiYzJhMTU2NzUyMDNjOTYzNjNhODZiZDA0OTM2MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HolkiwNO2WSTGAM5UyhQhVYKoacxCiuwgyMuH7umyqs)
One of the annex changes is to make sure the options when creating and editing a step are displayed from 0 too. Just changing the displayed order does not break anything, those options had a non visible order that was used programatically and contained the correct value already.
Executed Tests
After building the changes, successfully built the docker tests
mvn clean install -f xwiki-platform-core/xwiki-platform-tour/xwiki-platform-tour-test/xwiki-platform-tour-test-docker
Expected merging strategy