Skip to content

MID-10966 Preserve resource edits after test connection#669

Open
kay1313 wants to merge 1 commit into
masterfrom
fix/MID-10966
Open

MID-10966 Preserve resource edits after test connection#669
kay1313 wants to merge 1 commit into
masterfrom
fix/MID-10966

Conversation

@kay1313
Copy link
Copy Markdown
Contributor

@kay1313 kay1313 commented May 25, 2026

Summary

Fixed MID-10966, where unsaved changes in resource details could be lost after running Test connection.

The Test connection result popup previously refreshed the whole resource details page when the popup OK button was clicked. On PageResource, this recreated the resource details model/wrapper from repository state, which discarded pending unsaved changes, for example changes in the resource capabilities list.

The popup now closes without triggering the resource details refresh, so the current PrismObjectWrapper and pending deltas stay intact.

Testing

Added GUI integration test coverage for the Test connection popup flow.

The test opens a resource details page, runs Test connection, closes the result popup, and verifies that the resource details wrapper was not reloaded.

Closing the Test connection result popup refreshed the whole resource details page, recreating the resource wrapper from repository state and discarding unsaved capability changes. Let the popup close without triggering the resource details refresh, keeping the current wrapper and pending deltas intact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant