? ? Success

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
14 Jul 2014

This is a resurrection of #1115 which had closed in favor of #1192 but that change may be too radical. I still think it's a great idea but maybe this can get approved first.

The tracker is still here: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30884

avatar okonomiyaki3000 okonomiyaki3000 - open - 14 Jul 2014
avatar okonomiyaki3000 okonomiyaki3000 - change - 14 Jul 2014
Title
DRY list fields
[#30884] DRY list fields
avatar beat
beat - comment - 14 Jul 2014

This is a good move into the right direction! So following suggestion should not prevent this from being reviewed, tested and merged:

Architecturally, I believe it would be even better to have the common part refactored into either a small common intermediate abstract class from which all 3 extend ? or even better, to a third class with an Interface class that gets injected using DI ? That would decrease dependencies (an important software architecture measure nowadays) instead of increasing them ?

avatar okonomiyaki3000
okonomiyaki3000 - comment - 14 Jul 2014

Hmm. These are some good ideas. Let me think about them for a day or two. If you look at what #1192 does, the getOptions function mostly gets removed anyway. The idea there is there that there will be different option types which each generate one or more option items. Since I'd still like to see that idea used in the future, I'll see what can be done at this point to move in that direction.

avatar okonomiyaki3000
okonomiyaki3000 - comment - 25 Jul 2014

To test this patch, you only really need to use a JForm which uses radio buttons or checkboxes (plural). Their options should be intact and working properly.

avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar okonomiyaki3000
okonomiyaki3000 - comment - 20 Nov 2014

:+1:

avatar tflm84 tflm84 - test_item - 21 Aug 2015 - Tested successfully
avatar tflm84
tflm84 - comment - 21 Aug 2015

Ive tested the patch and the radiobuttons and checkboxes worked fine!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3900.

avatar zero-24 zero-24 - change - 23 Aug 2015
Category Libraries
avatar zero-24 zero-24 - change - 23 Aug 2015
Status Pending Ready to Commit
Easy No Yes
avatar zero-24
zero-24 - comment - 23 Aug 2015

I have just restartet the Travis job (wich errord some days bevor).

and tested this just successful. Together with the test by @tflm84 I'm going to RTC here. Thanks @okonomiyaki3000


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3900.

avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2015
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2015
Labels Added: ?
avatar zero-24 zero-24 - test_item - 23 Aug 2015 - Tested successfully
avatar roland-d roland-d - change - 24 Aug 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-08-24 12:31:32
Closed_By roland-d
avatar roland-d roland-d - reference | ee89145 - 24 Aug 15
avatar roland-d roland-d - merge - 24 Aug 2015
avatar roland-d roland-d - close - 24 Aug 2015
avatar zero-24 zero-24 - change - 24 Aug 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 24 Aug 2015
Milestone Added:
avatar okonomiyaki3000
okonomiyaki3000 - comment - 25 Aug 2015

Yay!

avatar okonomiyaki3000 okonomiyaki3000 - head_ref_deleted - 25 Aug 2015

Add a Comment

Login with GitHub to post a comment