denny / ShinyCMS

ShinyCMS is an open source CMS. This is the Perl version, built with Catalyst and DBIC. (There is also a Ruby on Rails version: www.github.com/denny/ShinyCMS-ruby)
56 stars 24 forks source link

Edit Shop Item, Change Item Code (URL) Loads Error Page #39

Closed wbraswell closed 8 years ago

wbraswell commented 9 years ago

When I am editing an item in the shop, and I change the Item Code (or leave it blank to be auto-generated), and click Save, then I am sent to the "Please come back later" error page.

This is because the URL has changed, but it is still trying to send me to the old URL.

Once I go back to the Admin Area, then I see the URL has been updated, and I can then load it at the new URL.

denny commented 8 years ago

This has been fixed now when editing a shop item, but it remains an issue in several other areas of the CMS, so I'm going to leave this open for a bit longer as a reminder to myself.

denny commented 8 years ago

Checked over the rest of the admin modules, fixed the same bug in the Form Handler code too which was the only other place I could find it - I think it's probably dead now :) If it does pop up elsewhere, open a new issue.

wbraswell commented 8 years ago

:+1: