User tests: Successful: Unsuccessful:
The "Version Note" field for the content versioning is shown in each extension regardless of the component settings.
This is due to a bug in the joomla.edit.global JLayout file which checks the component parameters based on the extension
instead of the option
.
The PR will fix this by first checking for the option, and if this is 'com_categories' it will look up the extension instead and take only the first part of it (because the second may be a section, like "com_content.other").
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32889
Description | <h3>Issue</h3> <p>The "Version Note" field for the content versioning is shown in each extension regardless of the component settings.</p> <h3>Bug description</h3> <p>This is due to a bug in the joomla.edit.global JLayout file which checks the component parameters based on the <code>extension</code> instead of the <code>option</code>.</p> <h3>Proposed Fix</h3> <p>The PR will fix this by first checking for the option, and if this is 'com_categories' it will look up the extension instead and take only the first part of it (because the second may be a section, like "com_content.other").</p> <h3>Testing</h3> <ol> <li>Enable Version History in com_content</li> <li>Diable Version History in com_contact</li> <li>Edit a contact and see that the "Version Note" field still shows.</li> <li>Disable Version History in com_content</li> <li>"Version Note" is no longer shown</li> <li>Enable Version History in com_contact</li> <li>"Version Note" still doesn't show.</li> <li>Apply patch and make sure everything works now as expected (including categories).</li> </ol> | ⇒ | <h3>Issue</h3> <p>The "Version Note" field for the content versioning is shown in each extension regardless of the component settings.</p> <h3>Bug description</h3> <p>This is due to a bug in the joomla.edit.global JLayout file which checks the component parameters based on the <code>extension</code> instead of the <code>option</code>.</p> <h3>Proposed Fix</h3> <p>The PR will fix this by first checking for the option, and if this is 'com_categories' it will look up the extension instead and take only the first part of it (because the second may be a section, like "com_content.other").</p> <h3>Testing</h3> <ol> <li>Enable Version History in com_content</li> <li>Diable Version History in com_contact</li> <li>Edit a contact and see that the "Version Note" field still shows.</li> <li>Disable Version History in com_content</li> <li>"Version Note" is no longer shown</li> <li>Enable Version History in com_contact</li> <li>"Version Note" still doesn't show.</li> <li>Apply patch and make sure everything works now as expected (including categories).</li> </ol><h4>Tracker</h4> <p><a href="http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32889">http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32889</a></p> |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2013-12-06 17:39:57 |
Labels |
Added:
?
?
|