? Pending

User tests: Successful: Unsuccessful:

avatar ReLater
ReLater
1 Feb 2021

Summary of Changes

  • See changed code. Typo corrected.

Testing Instructions

  • #32217 must be fixed/merged first.

  • Go to administrator/index.php?option=com_config&view=component&component=com_users

  • Tabulator Email Domain Options

  • Add a subform row, fill it

  • Click on Save

Actual result BEFORE applying this Pull Request

  • Error Call to a member function test() on bool, JROOT/libraries/src/Form/FormField.php:1249
  • This happens in all extensions with a subform via JForm.

Expected result AFTER applying this Pull Request

  • Saving without error
  • Subform field correctly saved and displayed with newly created row
avatar ReLater ReLater - open - 1 Feb 2021
avatar ReLater ReLater - change - 1 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2021
Category Libraries
avatar ReLater ReLater - change - 1 Feb 2021
The description was changed
avatar ReLater ReLater - edited - 1 Feb 2021
avatar ReLater ReLater - change - 1 Feb 2021
The description was changed
avatar ReLater ReLater - edited - 1 Feb 2021
avatar Fedik Fedik - test_item - 1 Feb 2021 - Tested successfully
avatar Fedik
Fedik - comment - 1 Feb 2021

I have tested this item successfully on 5fcb38d


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

avatar wilsonge wilsonge - change - 1 Feb 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-01 11:27:58
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 1 Feb 2021
avatar wilsonge wilsonge - merge - 1 Feb 2021
avatar wilsonge
wilsonge - comment - 1 Feb 2021

Thanks!

avatar chrisdavenport
chrisdavenport - comment - 8 Feb 2021

This should probably be documented on the B/C breaks page.

Thinking about it, I wonder if a better (or additional) solution would be to put a ucfirst() into the FormHelper::loadType() method.

avatar Fedik
Fedik - comment - 8 Feb 2021

This should probably be documented on the B/C breaks page.

Here is no b/c. It does not rename the class, just correcting the loading.

Or do you mean the FormHelper::loadRuleType in general?
FormHelper::loadRuleType('foobar') in J 3
vs
FormHelper::loadRuleType('Foobar') in J 4

I do not think it b/c. FormHelper::loadClass internally use ucfirst already.

What we have in this patch is CamelCase issue.

Add a Comment

Login with GitHub to post a comment