Missing Page = Application Error?

I just refreshed an page edit screen for a page I’d just deleted and I
got an application error.

Even the RadiantCMS Demo site shows this behavior – try:
http://demo.radiantcms.org/admin/pages/edit/777

I’d be happy to create a ticket for this but I didn’t know if it was
intentional for some reason.

-Chris

That’s “normal”. The page you are accessing no longer exists in the
database.

And i say "normal" because Radiant should check for this just to be 

more
user friendly.

/AITOR

Yes, a ticket for that would be great.

Sean

Sean C. wrote:

Yes, a ticket for that would be great.

Sean

Done: http://dev.radiantcms.org/radiant/ticket/515

By the way, sort of related…
Entering other invalid urls below /admin/ (like:
http://demo.radiantcms.org/admin/pages/garbage) don’t require any kind
of login and instead return the site’s 404 page.

Should the admin_controller have a method_missing to handle this kind of
stuff (perhaps requiring login and/or providing a radiant admin 404
page)?

-Chris

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs