Blacklight Plugin

Duplication of directives when reinstalling template

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.4
  • Fix Version/s: 3.0
  • Component/s: None
  • Description:
    Hide
    I've reinstalled the template a couple of times now on an existing app and wanted to let you know that it looks like the template is inserting some things even if they are already there. For example, after reinstalling twice, I see this at the top of my application controller:

    eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb')
    eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb')
    eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb')

    Not a big deal, since it doesn't seem to cause problems.
    Show
    I've reinstalled the template a couple of times now on an existing app and wanted to let you know that it looks like the template is inserting some things even if they are already there. For example, after reinstalling twice, I see this at the top of my application controller: eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb') eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb') eval File.read('vendor/plugins/blacklight/app/controllers/application_controller.rb') Not a big deal, since it doesn't seem to cause problems.

Activity

Hide
Chris Beer added a comment - 21/May/11 8:33 PM
Likely fixed in 2.x, but Blacklight 3.x uses Thor for generating the Blacklight install.
Show
Chris Beer added a comment - 21/May/11 8:33 PM Likely fixed in 2.x, but Blacklight 3.x uses Thor for generating the Blacklight install.

People

Dates

  • Created:
    19/Nov/09 10:26 AM
    Updated:
    21/May/11 8:33 PM
    Resolved:
    21/May/11 8:33 PM