On Wed, May 13, 2009 at 9:17 AM, James Cammarata <[email protected]> wrote:
>
> On Wed, 13 May 2009 10:00:20 -0500, James Cammarata <[email protected]> wrote:
>> On Wed, 13 May 2009 07:44:58 -0700, Jeff Schroeder
> <[email protected]>
>> wrote:
>>> On Wed, May 13, 2009 at 7:37 AM, Michael DeHaan <[email protected]>
>> wrote:
>>> ...
>>>> Yeah, you work with Jeff though :)
>>>>
>>>> Anyone else?
>>>
>>> The jerk that broke our template was me. Changing #end to #end raw fixed
>>> it.
>>>
>>> If there isn't a wiki perhaps a "common mistakes" page can be created
>>> on the wiki for kickstart templates? To save people from that?
>>>
>>> Chris had to move because there wasn't enough room in here for his ego.
>>
>> Does cheetah have a validation mode?  If so, building a check into getks
>> would be nice to make sure there weren't any unmatched opening/closing
>> cheetah tags like this.
>
> Looking at the code, I see templar uses the Echo errorCatcher to suppress
> errors.  Looking through the Cheetah documentation, I think we should
> switch this to ListErrors:
>
> "Cheetah.ErrorCatchers.ListErrors will produce the same ouput as Echo while
> maintaining a list of the errors that can be retrieved later. To retrieve
> the list, use the Template class' 'errorCatcher' method to retrieve the
> errorCatcher and then call its listErrors method."
>
> That way, we'll know which errors are generated, and can pretty print them
> for users.
>
> Thoughts?

That would certainly improve the user experience vs silently not working.

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to