ham1 opened a new pull request, #6880: URL: https://github.com/apache/jmeter/pull/6880
## Description A full test plan load now dispatches the existing `ADD_ALL` action, so the dirty-check snapshot covers the whole loaded tree. Fragment loads and merges keep their existing actions. ## Motivation and Context On 6.0.0-SNAPSHOT, opening an existing plan and exiting without edits can show **Save?**. Released versions were not checked. A full load replaces the Test Plan root, but the following `SUB_TREE_LOADED` event only passes the subtree beneath that root. `CheckDirty` therefore never records the new Test Plan node and treats it as an edit. ## How Has This Been Tested? On Linux with JDK 21: - `./gradlew classes style :src:dist:createDist` passed. - A temporary GUI probe (not part of this PR) against the patched distribution: | Scenario | Dirty | | --- | --- | | Plan loaded at startup with `-t` | no | | Second plan through the File → Open loader | no | | Plan name changed | yes | | Plan reopened | no | | Another plan merged in | yes | The same probe reported the startup plan as dirty on a build without this change. No automated test is added. ## Types of changes - Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] My code follows the [code style][style-guide] of this project. - [ ] I have updated the documentation accordingly. [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
