User tests: Successful: Unsuccessful:
Pull Request for Issue #35015 .
Added str_replace() to change \ to /.
Looks like only the str_replace() at line 189 maybe essential but included one at line 175 for consistency and clarity.
Use a MS Windows hosted test site (may not be a problem on Linux sites).
Install this library:
lib_bftest1.zip
The library installed correctly AND appears in the Extensions:Discover listing.
Can then be installed again from there - get 2 records in the extensions table!
Need to uninstall both before testing the patch.
The library installed correctly and does not appear in the Extensions:Discover listing.
docs.joomla.org/Manifest_files
Has been updated with J4.0 library related information since originally written ...
Current documentation on manifest files for libraries is rather limited (no longer true!).
https://docs.joomla.org/Manifest_files
More information on this can be found elsewhere, such as ...
https://www.joomlashack.com/blog/how-tos/development/how-to-package-joomla-libraries/ (see comments at end)
https://joomla.stackexchange.com/questions/13681/manifest-file-format-for-installing-a-library-package
This pull request and previous pull request #34910 appear to complete an 'almost working' undocumented feature, namely ...
What is not immediately obvious is that you can include a slash (/) in the folder name, so you can put all your company libraries into JPATH_SITE/libraries/mycompany using this:
<libraryname>mycompany/mydosomething</libraryname>
<libraryname>mycompany/mydosomethingelse</libraryname>
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_installer |
Please fix the code style issues
https://ci.joomla.org/joomla/joomla-cms/46322/1/6
Labels |
Added:
?
|
Code style changes made - issue resolved?
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
Removed: ? |
Category | Administration com_installer | ⇒ | Administration com_installer Libraries |
Category | Administration com_installer Libraries | ⇒ | Administration com_installer |
Labels |
Added:
?
?
Removed: ? ? |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-16 19:43:23 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
?
Removed: ? ? |
Thanks!
I have tested this item✅ successfully on 3765cb8
Tested on a WAMP server and could reproduce the issue. The patch fixed the issue.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35023.