No Code Attached Yet ?
avatar DonPedro34
DonPedro34
22 Oct 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! 4.4.0 Stable [ Pamoja ] 17-October-2023 16:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Additional comments

This works in Release 4.3.4

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

@alikon Could you have a look on this issue? Thanks in advance.

avatar alikon alikon - change - 23 Oct 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-10-23 12:49:50
Closed_By alikon
avatar alikon alikon - close - 23 Oct 2023
avatar alikon
alikon - comment - 23 Oct 2023

please test #42206

Add a Comment

Login with GitHub to post a comment