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

Deleting default page for a section doesn't work properly #3

Closed denny closed 10 years ago

denny commented 13 years ago

Throws an error, and deletes page elements but not whole page.

denny commented 10 years ago

Fixed (deleting a page now checks to see if it's the default for its section, and if so, sets the section.default_page to null, before then deleting the page).