?
avatar stutteringp0et
stutteringp0et
23 Apr 2013

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)

avatar stutteringp0et stutteringp0et - open - 23 Apr 2013
avatar nicksavov
nicksavov - comment - 5 May 2013

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.

avatar nicksavov
nicksavov - comment - 5 May 2013

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!

avatar zero-24 zero-24 - close - 5 May 2013
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Removed: ? ?
Build staging

Add a Comment

Login with GitHub to post a comment