Skip to content

[7.0] Move radio basic field to compat plugin#47930

Merged
laoneo merged 2 commits into
joomla:7.0-devfrom
Digital-Peak:remove/radiobasic
Jun 12, 2026
Merged

[7.0] Move radio basic field to compat plugin#47930
laoneo merged 2 commits into
joomla:7.0-devfrom
Digital-Peak:remove/radiobasic

Conversation

@laoneo

@laoneo laoneo commented Jun 10, 2026

Copy link
Copy Markdown
Member
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Moves the radiobasic form field to the compatibility plugin.

Testing Instructions

  • In the file /administrator/components/com_content/forms/article.xml change line 245 to type="radiobasic" and remove line 247
  • Open the article form

Actual result BEFORE applying this Pull Request

The featured toggle is shown as default switcher.

Expected result AFTER applying this Pull Request

The featured toggle is shown as radio group.

Link to documentations

Please select:

@laoneo laoneo added the b/c break This item changes the behavior in an incompatible why. HEADS UP label Jun 10, 2026
@joomdonation

Copy link
Copy Markdown
Contributor

I'm using Windows and got this error with the PR:

Warning: include(D:\www\joomla7\libraries\vendor\composer/../../../libraries/src/Form/Field/RadiobasicField.php): Failed to open stream: No such file or directory in D:\www\joomla7\libraries\vendor\composer\ClassLoader.php on line 576

Strange that when I move the class back to libraries/src/Form/Field, it works OK. Anyone uses Windows can confirm?

@laoneo

laoneo commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

Make a `composer install. Looks like composer has that class still in the classmap.

@joomdonation

Copy link
Copy Markdown
Contributor

I tried to make a fresh installation base on the download package generated by this PR and it works OK. So maybe something wrong with my installation.

@joomdonation

Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 7f18822


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

@laoneo laoneo merged commit 4f27ca7 into joomla:7.0-dev Jun 12, 2026
57 of 58 checks passed
@laoneo laoneo deleted the remove/radiobasic branch June 12, 2026 07:41
@laoneo laoneo added this to the Joomla! 7.0.0 milestone Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

b/c break This item changes the behavior in an incompatible why. HEADS UP PR-7.0-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants