No Code Attached Yet
avatar DonPedro34
DonPedro34
5 Nov 2023

Steps to reproduce the issue

Add a new Field of type List to your Article. Select a value and save the article.

Get the Article over the Webservices API

GET /api/index.php/v1/content/articles/{{yourArticleId}}

Expected result

"Fieldname": {
"1": "1"
},

Actual result

"Fieldname": [0]

System information (as much as possible)

PHP Built On Linux dd51504 5.4.0-164-generic #181-Ubuntu SMP Fri Sep 1 13:41:22 UTC 2023 x86_64
Database Type mysql
Database Version 10.5.22-MariaDB-1:10.5.22+maria~ubu2004-log
Database Collation utf8mb4_general_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption Yes
PHP Version 8.1.22
Web Server Apache
WebServer to PHP Interface fpm-fcgi
Joomla! Version Joomla! 5.0.0 Stable [ Kuboresha ] 17-October-2023 16:00 GMT
Joomla Backward Compatibility Plugin Enabled ()
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Additional comments

This was seen and reported in Release 4.4.0

See also fixed issues 42200 and 42206 for J4

Most likely the same issue.

avatar DonPedro34 DonPedro34 - open - 5 Nov 2023
avatar DonPedro34 DonPedro34 - change - 5 Nov 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Nov 2023
avatar DonPedro34
DonPedro34 - comment - 5 Nov 2023

Related to: #42206


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

avatar Quy Quy - close - 5 Nov 2023
avatar Quy
Quy - comment - 5 Nov 2023

Fixes in v4.4.1 will be upmerged to v5.0.1 so this can be closed. Thank for the report.

avatar Quy Quy - change - 5 Nov 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-11-05 22:30:46
Closed_By Quy
avatar DonPedro34
DonPedro34 - comment - 6 Nov 2023

Thanks for the info @Quy

Add a Comment

Login with GitHub to post a comment