rapila / cms-base

The rapila cms’ internals. Please file all issues here if they’re not directly related to a plugin or the sample site.
http://www.rapi.la
3 stars 1 forks source link

Template bug with conditions for page contents #176

Closed juergmessmer closed 10 years ago

juergmessmer commented 10 years ago

When I set a condition for a page content (see screenshot), then a fatal exception is thrown in TemplatePart->replaceAt() because Template is not an object. I tested this with different contents. The most difficult part of finding the reason of the exception was that there is no backtrace infomation just a simple "Call to a member function replaceAt() on a non-object in ....TemplatePart.php on line 7"

screen shot 2014-04-29 at 13 48 45

sabberworm commented 10 years ago

When is the exception thrown? While rendering the part or while setting the condition?

juergmessmer commented 10 years ago

rendering the part in frontend.

On 29.04.2014, at 21:04, Raphael Schweikert notifications@github.com wrote:

When is the exception thrown? While rendering the part or while setting the condition?

— Reply to this email directly or view it on GitHub.