Adding some options to one my extensions, I found that the JFormFieldUserGroup field type generates an element ID that is inconsistent with other field types.
"usergroup" field type creates a concatenated ID string (no underscores) while other field types generate a consistent (underscored) ID.
Example:
<field type="usergroup" name="myUserGroup">
generates this id: jformparamsmyUserGroup
For comparison:
<field type="accesslevel" name="myAccessLevel">
generates this id: jform_params_myAccessLevel
I'm going to write detection and a workaround in my code, but consistent operation would be nice.
joomla-framework closed it and said it was a joomla-cms issue here:
joomla/joomla-framework#140 (comment)
I'm going to close this item, since we have the above JoomlaCode Tracker Item. If and when you submit a pull request, please reference the JoomlaCode Tracker Item URL. Thanks!
Labels |
Added:
?
Removed: ? ? |
||
Build | ⇒ | staging |
Thanks for posting this, stutteringp0et! Can you send a pull request? If you need to learn how, check out this tutorial:
http://docs.joomla.org/Git_for_Coders
I also created a tracker item for this issue:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30845
While we’re transitioning to a new integrated tracker, the JoomlaCode tracker is where we do most of Joomla's bug fixing. You can find out more about the process at:
http://docs.joomla.org/Filing_bugs_and_issues
Let me know if you have any questions and I'll be glad to answer.