Feature PR-5.0-dev Small Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
25 Nov 2022

Pull Request for Issue #39289 .

Summary of Changes

get Table primary key

Testing Instructions

Create a new API accessing data from a component which has a table with a primary key which is not called 'id'.
The view class for the API extends Joomla\CMS\MVC\View\JsonApiView.
Execute the API GET for a specific item id which exists in the table.

Actual result BEFORE applying this Pull Request

Warning: Undefined property: Joomla\CMS\Object\CMSObject::$id in

Expected result AFTER applying this Pull Request

no warning

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 25 Nov 2022
avatar alikon alikon - change - 25 Nov 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Nov 2022
Category Libraries
avatar richard67
richard67 - comment - 25 Nov 2022

Api tests are failing in drone with a sever error 500 : https://ci.joomla.org/joomla/joomla-cms/59737/1/28 @laoneo Could you have a look on it?

avatar richard67 richard67 - change - 25 Nov 2022
Labels Added: ?
5684ee4 25 Nov 2022 avatar alikon cs
avatar richard67
richard67 - comment - 26 Nov 2022

API tests still are constantly failing in Drone. Am not on my desk now to check for details.

avatar alikon
alikon - comment - 27 Nov 2022

API tests are OK now

avatar alikon alikon - change - 28 Apr 2023
Labels Added: ? ?
avatar HLeithner
HLeithner - comment - 8 May 2023

This pull request has been automatically rebased to 5.0-dev. No new features will be merged into Joomla! 4.3 series. Joomla! 4.4 series is a bridge release to make migration from Joomla! 4 to 5 as smooth as possible.

avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 5.1-dev.

avatar alikon alikon - change - 9 Apr 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-04-09 10:55:00
Closed_By alikon
Labels Added: Feature PR-5.0-dev Small
Removed: ? ? ?
avatar alikon alikon - close - 9 Apr 2024

Add a Comment

Login with GitHub to post a comment