Failure

User tests: Successful: Unsuccessful:

avatar matrikular
matrikular
17 Oct 2013

As Jörn Daub has mentioned in the google group three years ago, the behavior he described still exists in Joomla! 2.x and 3.x. You can read about it here: https://groups.google.com/forum/#!topic/joomlabugsquad/uws63_tvPPw

Since it still won't break anything and there doesn't seem to be a better solution to this, I've added his proposed getData() method to the JForm class and changed any calls of $this->get('Item') in every view class where $this->get('Form'); and $this->get('Item') were used.

This surely doesn't look as good as $this->get('Item') but it solves all problems Jörn mentioned in an unobtrusive way, while any other component would just continue to work just fine.

Tracker item can be found here:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32340&start=0

avatar matrikular matrikular - open - 17 Oct 2013
avatar matrikular matrikular - close - 17 Oct 2013
avatar matrikular
matrikular - comment - 17 Oct 2013

I will close this as it breaks the build process because of an existing getData() method.

Add a Comment

Login with GitHub to post a comment