Closed (fixed)
Project:
Facet API
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Apr 2012 at 23:56 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rooby commentedAlso, there is edit machine name functionality there when you create a new block, however it is not available any time after that.
Comment #2
cpliakas commentedThis bug is confirmed. The machine name generally shouldn't be editable after it is created, which is inline with how other modules leveraging CTools exportables work. However, the logic that prevents modifying the machine name after a configuration has been created is also applied when the configuration is being cloned. Changing the title so we can focus on making the machine name configurable when cloning a configuration.
The good news is that this seems to be an easy fix. In the current_search_settings_form() function, we can simply leverage the
$form_state['form type']variable to test whether the form is being cloned and modify the$form['info']['name']['#disabled']property accordingly. Adding to the "low hanging fruit" tag, as I would love to see a patch for this.Thanks for reporting,
Chris
Comment #3
cpliakas commentedThe attached patch seems to resolve the issue.
Comment #4
cpliakas commentedMinor fix, so it has been committed to 7.x versions of Facet API.