Re: [Radiant] Radiant tag errors
On Sat, Oct 25, 2008 at 9:59 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > On Sat, Oct 18, 2008 at 6:41 PM, Jim Gay <[EMAIL PROTECTED]> wrote: >> >> On Oct 18, 2008, at 3:17 PM, Joe Van Dyk wrote: >> >>> On Fri, Oct 17, 2008 at 7:09 PM, Jim Gay <[EMAIL PROTECTED]> wrote: On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: > This is in production mode. I'm using the radiant exception notifier > plugin, which lets you put up your own 500 page. > > I'm using Radiant to build a website that lets some non-technical > people update it. I'm trying to make it as easy as possible. It > doesn't seem right, if one person makes an error on a snippet that's > being used by every page, to not show the rest of the page's content > (and replace the snippet or tag with the error message). That would > let them easily figure out where the error occurred and would give > them clues to how to fix it. > > Joe From my past experience and this recent test, that is what *should* be happening. What does the 500 error say? >>> >>> Whatever the content on the 500 error page is. >> >> Ok. What does your log file report? > > It shows the exception backtrace. > >>> You're saying that when you mess up a tag, the tag content is replaced >>> with the error message and the rest of the page looks as it would if >>> the tag rendered successfully? >> >> Yes, that is how it is supposed to behave in production mode. If it is not >> doing that, then something is wrong (but that part is obvious). >> I haven't used exception notifier for Radiant, but I don't expect that it >> would alter things to behave like this. Does it? >> Or have you made any changes to your environment file >> (environments/production.rb)? > > This is in staging, actually. I copied the environment file from the > production one. Ah, found what I was looking for in page_context. Perhaps that should be an option settable from the environment file? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
On Sat, Oct 18, 2008 at 6:41 PM, Jim Gay <[EMAIL PROTECTED]> wrote: > > On Oct 18, 2008, at 3:17 PM, Joe Van Dyk wrote: > >> On Fri, Oct 17, 2008 at 7:09 PM, Jim Gay <[EMAIL PROTECTED]> wrote: >>> >>> On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: >>> This is in production mode. I'm using the radiant exception notifier plugin, which lets you put up your own 500 page. I'm using Radiant to build a website that lets some non-technical people update it. I'm trying to make it as easy as possible. It doesn't seem right, if one person makes an error on a snippet that's being used by every page, to not show the rest of the page's content (and replace the snippet or tag with the error message). That would let them easily figure out where the error occurred and would give them clues to how to fix it. Joe >>> >>> From my past experience and this recent test, that is what *should* be >>> happening. >>> What does the 500 error say? >> >> Whatever the content on the 500 error page is. > > Ok. What does your log file report? It shows the exception backtrace. >> You're saying that when you mess up a tag, the tag content is replaced >> with the error message and the rest of the page looks as it would if >> the tag rendered successfully? > > Yes, that is how it is supposed to behave in production mode. If it is not > doing that, then something is wrong (but that part is obvious). > I haven't used exception notifier for Radiant, but I don't expect that it > would alter things to behave like this. Does it? > Or have you made any changes to your environment file > (environments/production.rb)? This is in staging, actually. I copied the environment file from the production one. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
On Oct 18, 2008, at 3:17 PM, Joe Van Dyk wrote: On Fri, Oct 17, 2008 at 7:09 PM, Jim Gay <[EMAIL PROTECTED]> wrote: On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: This is in production mode. I'm using the radiant exception notifier plugin, which lets you put up your own 500 page. I'm using Radiant to build a website that lets some non-technical people update it. I'm trying to make it as easy as possible. It doesn't seem right, if one person makes an error on a snippet that's being used by every page, to not show the rest of the page's content (and replace the snippet or tag with the error message). That would let them easily figure out where the error occurred and would give them clues to how to fix it. Joe From my past experience and this recent test, that is what *should* be happening. What does the 500 error say? Whatever the content on the 500 error page is. Ok. What does your log file report? You're saying that when you mess up a tag, the tag content is replaced with the error message and the rest of the page looks as it would if the tag rendered successfully? Yes, that is how it is supposed to behave in production mode. If it is not doing that, then something is wrong (but that part is obvious). I haven't used exception notifier for Radiant, but I don't expect that it would alter things to behave like this. Does it? Or have you made any changes to your environment file (environments/ production.rb)? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
On Fri, Oct 17, 2008 at 7:09 PM, Jim Gay <[EMAIL PROTECTED]> wrote: > On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: > >> This is in production mode. I'm using the radiant exception notifier >> plugin, which lets you put up your own 500 page. >> >> I'm using Radiant to build a website that lets some non-technical >> people update it. I'm trying to make it as easy as possible. It >> doesn't seem right, if one person makes an error on a snippet that's >> being used by every page, to not show the rest of the page's content >> (and replace the snippet or tag with the error message). That would >> let them easily figure out where the error occurred and would give >> them clues to how to fix it. >> >> Joe > > From my past experience and this recent test, that is what *should* be > happening. > What does the 500 error say? Whatever the content on the 500 error page is. You're saying that when you mess up a tag, the tag content is replaced with the error message and the rest of the page looks as it would if the tag rendered successfully? Joe ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
I agree, Jim. You should only see the 500 page in development mode. In production mode, the message of the thrown error is shown directly on the page instead of the rendered tag. No need to poke around in page_context.rb, unless it's important for you to have the same behavior in development mode. Manuel On Sat, Oct 18, 2008 at 4:09 AM, Jim Gay <[EMAIL PROTECTED]> wrote: > On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: > >> This is in production mode. I'm using the radiant exception notifier >> plugin, which lets you put up your own 500 page. >> >> I'm using Radiant to build a website that lets some non-technical >> people update it. I'm trying to make it as easy as possible. It >> doesn't seem right, if one person makes an error on a snippet that's >> being used by every page, to not show the rest of the page's content >> (and replace the snippet or tag with the error message). That would >> let them easily figure out where the error occurred and would give >> them clues to how to fix it. >> >> Joe > > From my past experience and this recent test, that is what *should* be > happening. > What does the 500 error say? > > -Jim > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
On Oct 17, 2008, at 10:04 PM, Joe Van Dyk wrote: This is in production mode. I'm using the radiant exception notifier plugin, which lets you put up your own 500 page. I'm using Radiant to build a website that lets some non-technical people update it. I'm trying to make it as easy as possible. It doesn't seem right, if one person makes an error on a snippet that's being used by every page, to not show the rest of the page's content (and replace the snippet or tag with the error message). That would let them easily figure out where the error occurred and would give them clues to how to fix it. Joe From my past experience and this recent test, that is what *should* be happening. What does the 500 error say? -Jim ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
This is in production mode. I'm using the radiant exception notifier plugin, which lets you put up your own 500 page. I'm using Radiant to build a website that lets some non-technical people update it. I'm trying to make it as easy as possible. It doesn't seem right, if one person makes an error on a snippet that's being used by every page, to not show the rest of the page's content (and replace the snippet or tag with the error message). That would let them easily figure out where the error occurred and would give them clues to how to fix it. Joe On Fri, Oct 17, 2008 at 5:47 PM, Jim Gay <[EMAIL PROTECTED]> wrote: > In what environment are you testing this? > > When doing in development I get a StandardTags::TagError page > In production I just get a message "undefined tag 'asdf'" > > > On Oct 17, 2008, at 3:31 PM, Joe Van Dyk wrote: > >> Err, sure: >> >> On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> >> wrote: >>> >>> What exactly do you mean by "messes up a radiant tag"? >>> Do you have an example? > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
With and no accompanying end tag, I get a Radius::MissingEndTagError page in development. In production I get the message "end tag not found for start tag `children:each'" On Oct 17, 2008, at 6:52 PM, Joe Van Dyk wrote: What if the user types in: (forgets to close the tag) (uses title instead of id) (doesn't specify the name) Instead of the exceptions bubbling up to the top and just seeing a 500 error page, wouldn't it be better to catch those errors and insert the error message directly into page content? Joe On Fri, Oct 17, 2008 at 3:44 PM, Manuel Meurer <[EMAIL PROTECTED] > wrote: From radius.rb #284 # Like method_missing for objects, but fired when a tag is undefined. # Override in your own Context to change what happens when a tag is # undefined. By default this method raises an UndefinedTagError. def tag_missing(name, attributes, &block) raise UndefinedTagError.new(name) end Guess it's just a preference thing. I like strong validation. Manuel On Fri, Oct 17, 2008 at 11:54 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: Makes sense -- why wouldn't that be that way by default? Joe On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer <[EMAIL PROTECTED] > wrote: Change #28 in vendor/radiant/app/models/page_context.rb from raise StandardTags::TagError.new(e.message) to "Radius error: #{e.message}" Manuel On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: Err, sure: On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED] > wrote: What exactly do you mean by "messes up a radiant tag"? Do you have an example? Manuel On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: Right now, when an editor messes up a radiant tag, a 500 page gets rendered. Would it be possible to display the page content, except for the radiant tag that had the error, and show the error message in place of that tag? Joe ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
In what environment are you testing this? When doing in development I get a StandardTags::TagError page In production I just get a message "undefined tag 'asdf'" On Oct 17, 2008, at 3:31 PM, Joe Van Dyk wrote: Err, sure: On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED] > wrote: What exactly do you mean by "messes up a radiant tag"? Do you have an example? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
As I said, I am pretty happy with Radius' tight validation, but I am sure there is a way to fix this, probably as easy as defining your own Radius Context and overwriting a couple of methods. Poke around in radius.rb a bit, it's commented very well. Manuel On Sat, Oct 18, 2008 at 12:52 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > What if the user types in: > > (forgets to close the tag) > > (uses title instead of id) > > (doesn't specify the name) > > Instead of the exceptions bubbling up to the top and just seeing a 500 > error page, wouldn't it be better to catch those errors and insert the > error message directly into page content? > > Joe > > On Fri, Oct 17, 2008 at 3:44 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >> >From radius.rb #284 >> >># Like method_missing for objects, but fired when a tag is undefined. >># Override in your own Context to change what happens when a tag is >># undefined. By default this method raises an UndefinedTagError. >>def tag_missing(name, attributes, &block) >> raise UndefinedTagError.new(name) >>end >> >> Guess it's just a preference thing. >> I like strong validation. >> >> Manuel >> >> On Fri, Oct 17, 2008 at 11:54 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >>> Makes sense -- why wouldn't that be that way by default? >>> >>> Joe >>> >>> On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: Change #28 in vendor/radiant/app/models/page_context.rb from raise StandardTags::TagError.new(e.message) to "Radius error: #{e.message}" Manuel On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Err, sure: > > On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >> What exactly do you mean by "messes up a radiant tag"? >> Do you have an example? >> >> Manuel >> >> On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >>> Right now, when an editor messes up a radiant tag, a 500 page gets >>> rendered. >>> >>> Would it be possible to display the page content, except for the >>> radiant tag that had the error, and show the error message in place of >>> that tag? >>> >>> Joe >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
What if the user types in: (forgets to close the tag) (uses title instead of id) (doesn't specify the name) Instead of the exceptions bubbling up to the top and just seeing a 500 error page, wouldn't it be better to catch those errors and insert the error message directly into page content? Joe On Fri, Oct 17, 2008 at 3:44 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: > >From radius.rb #284 > ># Like method_missing for objects, but fired when a tag is undefined. ># Override in your own Context to change what happens when a tag is ># undefined. By default this method raises an UndefinedTagError. >def tag_missing(name, attributes, &block) > raise UndefinedTagError.new(name) >end > > Guess it's just a preference thing. > I like strong validation. > > Manuel > > On Fri, Oct 17, 2008 at 11:54 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >> Makes sense -- why wouldn't that be that way by default? >> >> Joe >> >> On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >>> Change #28 in vendor/radiant/app/models/page_context.rb from >>> >>> raise StandardTags::TagError.new(e.message) >>> >>> to >>> >>> "Radius error: #{e.message}" >>> >>> Manuel >>> >>> On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: Err, sure: On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: > What exactly do you mean by "messes up a radiant tag"? > Do you have an example? > > Manuel > > On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >> Right now, when an editor messes up a radiant tag, a 500 page gets >> rendered. >> >> Would it be possible to display the page content, except for the >> radiant tag that had the error, and show the error message in place of >> that tag? >> >> Joe >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
>From radius.rb #284 # Like method_missing for objects, but fired when a tag is undefined. # Override in your own Context to change what happens when a tag is # undefined. By default this method raises an UndefinedTagError. def tag_missing(name, attributes, &block) raise UndefinedTagError.new(name) end Guess it's just a preference thing. I like strong validation. Manuel On Fri, Oct 17, 2008 at 11:54 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Makes sense -- why wouldn't that be that way by default? > > Joe > > On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >> Change #28 in vendor/radiant/app/models/page_context.rb from >> >> raise StandardTags::TagError.new(e.message) >> >> to >> >> "Radius error: #{e.message}" >> >> Manuel >> >> On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >>> Err, sure: >>> >>> On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: What exactly do you mean by "messes up a radiant tag"? Do you have an example? Manuel On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Right now, when an editor messes up a radiant tag, a 500 page gets > rendered. > > Would it be possible to display the page content, except for the > radiant tag that had the error, and show the error message in place of > that tag? > > Joe > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
Makes sense -- why wouldn't that be that way by default? Joe On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: > Change #28 in vendor/radiant/app/models/page_context.rb from > > raise StandardTags::TagError.new(e.message) > > to > > "Radius error: #{e.message}" > > Manuel > > On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >> Err, sure: >> >> On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >>> What exactly do you mean by "messes up a radiant tag"? >>> Do you have an example? >>> >>> Manuel >>> >>> On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: Right now, when an editor messes up a radiant tag, a 500 page gets rendered. Would it be possible to display the page content, except for the radiant tag that had the error, and show the error message in place of that tag? Joe ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
Change #28 in vendor/radiant/app/models/page_context.rb from raise StandardTags::TagError.new(e.message) to "Radius error: #{e.message}" Manuel On Fri, Oct 17, 2008 at 9:31 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Err, sure: > > On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: >> What exactly do you mean by "messes up a radiant tag"? >> Do you have an example? >> >> Manuel >> >> On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >>> Right now, when an editor messes up a radiant tag, a 500 page gets rendered. >>> >>> Would it be possible to display the page content, except for the >>> radiant tag that had the error, and show the error message in place of >>> that tag? >>> >>> Joe >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
Err, sure: On Fri, Oct 17, 2008 at 12:28 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: > What exactly do you mean by "messes up a radiant tag"? > Do you have an example? > > Manuel > > On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: >> Right now, when an editor messes up a radiant tag, a 500 page gets rendered. >> >> Would it be possible to display the page content, except for the >> radiant tag that had the error, and show the error message in place of >> that tag? >> >> Joe >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant tag errors
What exactly do you mean by "messes up a radiant tag"? Do you have an example? Manuel On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Right now, when an editor messes up a radiant tag, a 500 page gets rendered. > > Would it be possible to display the page content, except for the > radiant tag that had the error, and show the error message in place of > that tag? > > Joe > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant