Joomla CMS [#27780] Fixed bug causing duplicate template styles in form field#761
Joomla CMS [#27780] Fixed bug causing duplicate template styles in form field#761hieblmedia wants to merge 2 commits intojoomla:stagingfrom hieblmedia:master
Conversation
…sion types with the same name.
|
Also affected is the styles view in the component, see: |
|
Unit testing complete. There were 0 failures and 0 errors from 1943 tests and 11087 assertions. |
There was a problem hiding this comment.
could you use
$query->where($db->quoteName('e.type') . '=' . $db->quote('template'));
because 'type' could be a reserved word in some db engine
|
Build triggered by changes to the head. Unit testing complete. There were 0 failures and 0 errors from 1941 tests and 11081 assertions. |
|
Test negative. See Tracker. |
|
The fix looks good. Since this is a CMS only field, would you also mind moving it from /libraries/joomla/ to /libraries/cms/. Thanks in advance. |
|
I've added the file in the cms library. I think on the platform this file should be deleted only in futher versions, for lecacy? |
|
The currently plan is not to actually move these files until Joomla 3.0. We just move classes we consider cms to the libraries/cms folder inside the platform repro. |
|
Ok. But now i can't commit in this pull request. I have created a new fork for a other pull request. |
|
I have created a new Pull Request: #814 |
Duplicate template styles if other type of extension exists with the same name.
I have added a filter with type=template for the query.
See http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=27780