No Code Attached Yet bug
avatar hytsch
hytsch
23 Jun 2023

Steps to reproduce the problem

Create a custom field A, create a custom field B (only in subforms), add field B as a field in field A. Change field B: Deactivate the option "only in subforms".

Expected result

Field B becomes a normal field, field B is no longer present as a subform in field A.

Actual result

Field B exists as a normal field, but in field A it is still listed as a subform field.

System information (as far as possible)

Joomla 4.3.2, PHP 8.1

Additional comments

avatar hytsch hytsch - open - 23 Jun 2023
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jun 2023
avatar drmenzelit drmenzelit - change - 23 Jun 2023
Labels Added: bug
avatar drmenzelit drmenzelit - labeled - 23 Jun 2023
avatar richard67
richard67 - comment - 23 Jun 2023

Thanks for reporting this issue. However, it’s not clear to me why you expect the field to disappear from the subform when the option “only in subform” is disabled. As the name of that option says, the option means that the field can only be in a subform but not outside a subform as a stand-alone field when it is on. But that does not mean that the field can not be is a subform when that option is off. It only means that the field can be in a subform as well as a stand-alone field when the option is off, and it can be in a subform but not be a stand-alone field when the option is on.

avatar brianteeman
brianteeman - comment - 23 Jun 2023

@richard67 is correct. You have misunderstood what it means "only in subform".

FieldX - can be displayed in a subform and/or as a normal field
FieldX (only in subform) - can be displayed only in a subform

avatar brianteeman
brianteeman - comment - 23 Jun 2023

Can be closed - the code is working as intended and as described

avatar richard67 richard67 - close - 23 Jun 2023
avatar richard67 richard67 - change - 23 Jun 2023
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2023-06-23 21:01:53
Closed_By richard67
avatar richard67
richard67 - comment - 23 Jun 2023

Closing as expected behavior.


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

Add a Comment

Login with GitHub to post a comment