U4-10241 - 'Unpublish content' triggers a forever spinning spinner

Created by Håkon Krogh 03 Aug 2017, 06:52:59 Updated by Claus Jensen 11 Sep 2017, 09:52:28

Tags: PR

Subtask of: U4-9609

What did you do? At a content page, press the arrow in the 'Save and publish' CTA button, and press 'Unpublish'.

What did you expect to happen? I expect it to fail and display an error message, since unpublishing this particular content page is not allowed.

What actually happened? The loading spinner keeps spinning forever

Additional info: '''When unpublishing from the list view''', the correct error message is displayed: Error: Active Front Page: x cannot be unpublished.


Håkon Krogh 03 Aug 2017, 07:27:55

This might be related to this issue as well: http://issues.umbraco.org/issue/U4-8739

Sebastiaan Janssen 03 Aug 2017, 11:58:19

PR: https://github.com/umbraco/Umbraco-CMS/pull/1215

So to reproduce: I need an event handler that cancels the unpublish of a page and see there's no errors in the interface? After merging the PR I should see the error bubble up?

Håkon Krogh 03 Aug 2017, 12:03:16

@sebastiaan Yes, exactly!

Claus Jensen 11 Sep 2017, 09:52:00

@hakonhk@gmail.com Thanks for the PR :) works perfectly!

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.6.6

Due in version: 7.6.7


Story Points: 1

Cycle: 4