? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
16 Mar 2017

Pull Request for Issue #14589.

Summary of Changes

When the options did change of a list, radio or checkbox field then it didn't work correctly since the move to subformfields in #13069.

Testing Instructions

  • Create a checkbox field with multiple options.
  • Edit an article and select some of the options.
  • Go back to the field and delete an option you have selected in the article.
  • Create a new option.
  • Save the field.

Expected result

The article has still the options selected which are not touched and the option is unselected.

Actual result

An error is thrown as in #14589.

avatar laoneo laoneo - open - 16 Mar 2017
avatar laoneo laoneo - change - 16 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Mar 2017
Category Administration com_fields
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Mar 2017

@laoneo is this PR ready for Test?

avatar laoneo laoneo - change - 17 Mar 2017
Labels Added: ?
5024eea 17 Mar 2017 avatar laoneo CS
avatar laoneo
laoneo - comment - 17 Mar 2017

@Quy can you retest again, changes some code.

@franz-wohlkoenig let first test @Quy again, then it will be ready for testing.

711a3a5 17 Mar 2017 avatar laoneo Typo
avatar Quy
Quy - comment - 17 Mar 2017

It works except when the value contains a single quote.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's')' at line 3

avatar laoneo
laoneo - comment - 20 Mar 2017

Thanks for the report, it should be fixed now. Can you retest?

@franz-wohlkoenig it is open for testing now.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 20 Mar 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Mar 2017

I have tested this item successfully on a483659

With- and without PR:

  • 3 Options, all selected in Article
  • 1 Option deleted, 1 new Option appended

In Article 2 Options are selected, the new Option isn't selected.


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

avatar Quy Quy - test_item - 20 Mar 2017 - Tested successfully
avatar Quy
Quy - comment - 20 Mar 2017

I have tested this item successfully on a483659


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

avatar jeckodevelopment jeckodevelopment - change - 22 Mar 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 22 Mar 2017

RTC


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

avatar rdeutz rdeutz - change - 23 Mar 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-03-23 20:56:34
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 23 Mar 2017
avatar rdeutz rdeutz - merge - 23 Mar 2017

Add a Comment

Login with GitHub to post a comment