#340 open
Alan Gutierrez

Cache Clear All Calls Missing "themes" Method

Reported by Alan Gutierrez | November 8th, 2009 @ 07:32 PM

When Adva is installed without the themes plugin, the clear all cache action fails at line 21 of adva_cms/app/controllers/admin/cached_pages_controller.rb when it attempts to call a "themes" method when the association is not defined. This can be fixed, for now, with a respond_to? check before calling the method.

I can submit this patch, once my previous patch for section permalinks validation has been accepted. My git-fu isn't wicked enough to handle submitting both in parallel.

Comments and changes to this ticket

  • Marko Seppä

    Marko Seppä November 23rd, 2009 @ 11:16 AM

    • State changed from “new” to “open”

    Hi Alan,

    thanks for the report. I have validated and accepted your section permalinks patches now. :)
    So, you are free to send us another patch.

    Thanks for your contributions,

    -- Marko

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

Pages