? PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
20 Oct 2023

Pull Request for Issue #42179 .

Summary of Changes

If a legacy table is created by Table::getInstance() twice it fails the second time. Reason for this is that the legacy table name is not used if the table class already exists.

Testing Instructions

Test joomla core and a random 3rd party extension which uses tables

Actual result BEFORE applying this Pull Request

Could fail if Table::getInstance() is called more then 1 time for the same old (JTableXXX) syntax.

Expected result AFTER applying this Pull Request

works

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 HLeithner HLeithner - open - 20 Oct 2023
avatar HLeithner HLeithner - change - 20 Oct 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2023
Category Libraries
avatar laoneo
laoneo - comment - 20 Oct 2023

Did you change something in the code? Only intendation is added.

avatar Quy
Quy - comment - 20 Oct 2023

Add w=1 to hide whitespace changes. https://github.com/joomla/joomla-cms/pull/42180/files?w=1

avatar laoneo
laoneo - comment - 20 Oct 2023

Thanks, I was sure that I miss here something :-)

avatar wilsonge wilsonge - change - 20 Oct 2023
Labels Added: PR-5.0-dev
avatar HLeithner
HLeithner - comment - 21 Oct 2023

@georgebara can you please test this pr?

avatar georgebara
georgebara - comment - 21 Oct 2023

Thank you for the fast feedback.

avatar richard67
richard67 - comment - 22 Oct 2023

@georgebara Was your approval a real successful test? If so, please mark your test result so it's properly counted. For doing this, go to the PR in the issue tracker here https://issues.joomla.org/tracker/joomla-cms/42180 , then use the blue "Test this" button at the top left corner, then select your test result and finally submit. Thanks in advance.

avatar georgebara georgebara - test_item - 23 Oct 2023 - Tested successfully
avatar georgebara
georgebara - comment - 23 Oct 2023

I have tested this item ✅ successfully on 6265a1b

The issue could not be reproduced anymore.


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

avatar viocassel viocassel - test_item - 16 Nov 2023 - Tested successfully
avatar viocassel
viocassel - comment - 16 Nov 2023

I have tested this item ✅ successfully on 6265a1b


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

avatar Quy Quy - change - 16 Nov 2023
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 Nov 2023

RTC


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

avatar Quy Quy - change - 16 Nov 2023
Labels Added: ?
avatar bembelimen bembelimen - close - 18 Nov 2023
avatar bembelimen bembelimen - merge - 18 Nov 2023
avatar bembelimen bembelimen - change - 18 Nov 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-11-18 01:35:45
Closed_By bembelimen
Labels Added: ?
Removed: ?
avatar bembelimen
bembelimen - comment - 18 Nov 2023

Thx

Add a Comment

Login with GitHub to post a comment