Problem/Motivation
On delete page, if click Cancel link and user doesn't have Administrator role, there is an error
issue

Proposed resolution
Added redirect to the Edit Post page.

https://github.com/goalgorilla/open_social/pull/354

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ToxaViking created an issue. See original summary.

ToxaViking’s picture

ToxaViking’s picture

Status: Active » Needs review
ToxaViking’s picture

Issue summary: View changes
FileSize
830 bytes
jaapjan’s picture

Status: Needs review » Fixed

Great catch!

It has been merged after some minor changes (including respecting the destination parameter and moving the code to PostDeleteForm).

https://github.com/goalgorilla/open_social/pull/368

  • jaapjan committed 142b956 on 8.x-1.x
    Issue #2875275 by ToxaViking,jaapjan: redirect destination cancel button...
  • 1887d98 committed on 8.x-1.x
    Issue #2875275 by ToxaViking,jaapjan: Post delete cancel redirect
    
    Issue...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.