#289 open
Luca Guidi

Asset search cause an internal server error

Reported by Luca Guidi | April 27th, 2009 @ 05:34 PM

When try to search for an asset from the "search" tab of the asset widget, an exception is raised by the server:

ActionView::TemplateError (undefined local variable or method `content' for #<ActionView::Base:0x32d8ff4>) on line #1 of vendor/plugins/adva_assets/app/views/admin/assets/widget/_asset.html.erb:
1: <li id="<%= dom_id(asset, prefix) %>" class="asset <%= prefix %>_asset <%= ' selected' if content and content.assets.include?(asset) %>">
2:   <%= link_to asset_image_for(asset), asset.base_url %>
3:   <div>
4:     <a href="#"><%= image_tag('/images/adva_cms/icons/add.png', :size => '16x16', :id => dom_id(asset, "attach_#{prefix}"), :style => 'display:none', :class => 'attach_asset') %></a>

    vendor/plugins/adva_assets/app/views/admin/assets/index.rjs:2:in `__instance_exec0'
    vendor/plugins/adva_assets/app/views/admin/assets/index.rjs:1:in `_run_rjs_vendor47plugins47adva_assets47app47views47admin47assets47index46rjs'
    vendor/plugins/adva_assets/app/controllers/admin/assets_controller.rb:13:in `index'

Comments and changes to this ticket

  • Marko Seppä

    Marko Seppä June 19th, 2009 @ 10:21 AM

    • State changed from “new” to “open”

    Added to prouct backlog.

  • Luca Guidi

    Luca Guidi June 23rd, 2009 @ 11:33 AM

    Fixed in http://github.com/svenfuchs/adva_cms/commit/b3495e98c42702b4b43d7a7...

    There is still an issue open: the search results are totally unrelated with the query.

  • howtozz

    howtozz September 23rd, 2021 @ 02:40 PM

    Jio offers a unfastened caller tune provider, but if you need to do away with the caller music out of your Reliance Jio wide variety you may do it without difficulty. HowTozz When bored of the caller tune, you could usually trade back to the same old smartphone ringing sound.Many humans nevertheless have no concept that Jio offers unfastened caller tunes service within the name of JioTunes which may be activated without paying any top rate or fee.

  • toolskitz

    toolskitz September 29th, 2021 @ 02:21 PM

    Folding 4-Step Steel Utility Stool is perfect for operating at various heights, high or low. It comes with a non-slip rubber sample to withstand falling off. The extra-extensive steps offer heel-to-toe foot support that gets rid of foot pain and fatigue. It offers a comfortable place to stand at the same time as operating. The Back Cross Brace shape reinforces support,
    telescoping ladder reviews that gives a sturdy and safe climb up the body and steps with an ease to paintings

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>

People watching this ticket