ScheduledUpdateAddController::add only displays an add form for independent types, however the addPageAccess function checks the user's access to add any type of content. This means that users with access to add other types of scheduled updates see the add button but when clicking it get the message "You have not created any scheduled_update types yet..".

Comments

acbramley created an issue. See original summary.

acbramley’s picture

Status: Active » Needs review
StatusFileSize
new2.35 KB
dksdev01’s picture

#2 patch works for me.

acbramley’s picture

StatusFileSize
new2.55 KB

Rerolled against latest dev.

  • smustgrave committed 65856996 on 3.0.x
    feat: #2893396 Hide Add Scheduled update button if there are no...
smustgrave’s picture

Version: 8.x-1.x-dev » 3.0.x-dev
Status: Needs review » Fixed

Will include thanks!

Only fixing this up as I might have to continue using it on a client project but scheduled_transitions is the way to go.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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