? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
3 Dec 2022

Summary of Changes

Fixes #39347.

This fixes some issues in namespace mapper regarding library extension autoloading. First, this changes the manifest lookup from JPATH_LIBRARIES to JPATH_MANIFESTS directory where library manifests are actually stored. Secondly, this adds support for the possibly undocumented "vendor" library structure.

Testing Instructions

See #39342 and #39347.

Documentation Changes Required

Although this PR is a bug fix, library autoloading and "vendor" library structure features are probably not documented. So documentation should be added somewhere.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar SharkyKZ SharkyKZ - open - 3 Dec 2022
avatar SharkyKZ SharkyKZ - change - 3 Dec 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2022
Category Libraries
avatar SharkyKZ SharkyKZ - change - 3 Dec 2022
Labels Added: ?
326bfe2 3 Dec 2022 avatar SharkyKZ CS
avatar sergeytolkachyov
sergeytolkachyov - comment - 5 Dec 2022

@SharkyKZ tested it successfully.

avatar joomdonation
joomdonation - comment - 5 Dec 2022

@sergeytolkachyov Could you please go to https://issues.joomla.org/tracker/joomla-cms/39348 , click on Test this button and report your test result there so that your test will be counted? We require two successful tests for each PR before it can be merged.

avatar sergeytolkachyov sergeytolkachyov - test_item - 5 Dec 2022 - Tested successfully
avatar sergeytolkachyov
sergeytolkachyov - comment - 5 Dec 2022

I have tested this item successfully on 326bfe2

Tested this successfully.


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

avatar joomdonation
joomdonation - comment - 5 Dec 2022
avatar richard67 richard67 - alter_testresult - 11 Dec 2022 - sergeytolkachyov: Tested successfully
avatar richard67
richard67 - comment - 11 Dec 2022

I've restored @sergeytolkachyov 's test result because the commits which have invalidated the test counter were just removing a redundant variable declaration and a clean branch update. The PR should still work the same as before.

But I think it is not easy to test without having an example library following that vendor structure.

avatar sergeytolkachyov
sergeytolkachyov - comment - 11 Dec 2022

I've restored @sergeytolkachyov 's test result because the commits which have invalidated the test counter were just removing a redundant variable declaration and a clean branch update. The PR should still work the same as before.

But I think it is not easy to test without having an example library following that vendor structure.

I'll test it again tomorrow.

avatar richard67
richard67 - comment - 11 Dec 2022

I'll test it again tomorrow.

@sergeytolkachyov No need to do that. Your test is still valid, I restored the counter.

avatar sergeytolkachyov
sergeytolkachyov - comment - 11 Jan 2023

@richard67 what is currently missing for the merging of this pr?

avatar richard67
richard67 - comment - 11 Jan 2023

@richard67 what is currently missing for the merging of this pr?

@sergeytolkachyov A 2nd human test. Your test still counts, but each PR needs 2 human tests before it is set to RTC (ready to commit). After that a maintainer will merge it whenever they find time.

avatar sergeytolkachyov sergeytolkachyov - test_item - 12 Jan 2023 - Tested successfully
avatar sergeytolkachyov
sergeytolkachyov - comment - 12 Jan 2023

I have tested this item successfully on 53f4b88


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

avatar leha123ra leha123ra - test_item - 12 Jan 2023 - Tested successfully
avatar leha123ra
leha123ra - comment - 12 Jan 2023

I have tested this item successfully on 53f4b88


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

avatar richard67 richard67 - change - 12 Jan 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 12 Jan 2023

RTC


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

avatar roland-d roland-d - change - 14 Jan 2023
Labels Added: ?
avatar roland-d roland-d - change - 14 Jan 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-01-14 12:04:56
Closed_By roland-d
avatar roland-d roland-d - close - 14 Jan 2023
avatar roland-d roland-d - merge - 14 Jan 2023
avatar roland-d
roland-d - comment - 14 Jan 2023

Thank you

Add a Comment

Login with GitHub to post a comment