No Code Attached Yet bug
avatar fuscage
fuscage
18 Sep 2024

Steps to reproduce the issue

Go to the /administrator/components/com_content/forms/article.xml file
Go the field state
Replace the type list to type="groupedlist"
Add group like this :

<field
			name="state"
	type="groupedlist"
			label="JSTATUS"
			class="form-select-color-state"
			default="1"
			validate="options"
			>
	<group label="GRP1">
				<option value="1">JPUBLISHED</option>
				<option value="0">JUNPUBLISHED</option>
	</group>
	<group label="GRP2">
				<option value="2">JARCHIVED</option>
				<option value="-2">JTRASHED</option>
	</group>
</field>

Result will be :
image

Try to save a content

Expected result

Save the content without error/warning

Actual result

warning : Champ invalide: Statut

image

System information (as much as possible)

joomla 4.4.6

Additional comments

avatar fuscage fuscage - open - 18 Sep 2024
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024
avatar Hackwar Hackwar - change - 28 Nov 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 28 Nov 2024
avatar Hackwar Hackwar - change - 24 Aug 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-08-24 17:26:29
Closed_By Hackwar
avatar Hackwar Hackwar - close - 24 Aug 2026
avatar Hackwar
Hackwar - comment - 24 Aug 2026

Thank you for reporting this. It has since been fixed in #46608 so I'm closing this one.

Add a Comment

Login with GitHub to post a comment