Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBUI-1554: Restoring a version should clear the unversioned changes '+' indication #2480

Open
wants to merge 3 commits into
base: maintenance-3.1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Polymer({
_restore() {
if (this.document) {
this.$.opRestoreVersion.input = this.document.uid;
this.$.opRestoreVersion.params = { checkout: true };
this.$.opRestoreVersion.params = { checkout: false };
this.$.opRestoreVersion.execute().then(() => {
this.navigateTo(
'document',
Expand Down
4 changes: 2 additions & 2 deletions ftest/features/versions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Feature: Versioning
And Versions item index at 1 is 0.1
Then I click the versions list at index 1
And I can restore version
And The document version is 1.0+
And The document version is 0.1
And Versions count is 2

@config('router.key.document','uid')
Expand All @@ -88,5 +88,5 @@ Feature: Versioning
And Versions item index at 1 is 0.1
Then I click the versions list at index 1
And I can restore version
And The document version is 1.0+
And The document version is 0.1
And Versions count is 2
Loading