We have moved to GitHub Issues
Created by Håkon Krogh 03 Aug 2017, 06:52:59 Updated by Claus Jensen 11 Sep 2017, 09:52:28Tags: 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
'''When unpublishing from the list view''', the correct error message is displayed:
Error: Active Front Page: x cannot be unpublished.
This might be related to this issue as well: http://issues.umbraco.org/issue/U4-8739
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?
@sebastiaan Yes, exactly!
@firstname.lastname@example.org Thanks for the PR :) works perfectly!
Backwards Compatible: True
Fix Submitted: Pull request
Affected versions: 7.6.6
Due in version: 7.6.7
Story Points: 1