Pending

User tests: Successful: Unsuccessful:

avatar BrainforgeUK
BrainforgeUK
20 Jun 2023

Remove whitespace around extension folder names.

Pull Request for Issue # .

Summary of Changes

Apply trim() function to filename.

An alternative solution would be to remove the whitespace in the manifest.
But why? It is valid XML and the installation failure can catch extension developers by surprise.

Testing Instructions

Install attached test package.
test1.zip

Actual result BEFORE applying this Pull Request

Package installation fails.

Expected result AFTER applying this Pull Request

Package installation succeeds

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 joomla-cms-bot joomla-cms-bot - change - 20 Jun 2023
Category Libraries
avatar BrainforgeUK BrainforgeUK - open - 20 Jun 2023
avatar BrainforgeUK BrainforgeUK - change - 20 Jun 2023
Status New Pending
avatar ceford ceford - test_item - 26 Sep 2023 - Tested successfully
avatar ceford
ceford - comment - 26 Sep 2023

I have tested this item ✅ successfully on 1363286

After install: uninstall com_test1, plg_quickicon_test1, plg_user_test1


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

avatar ceford
ceford - comment - 26 Sep 2023

Oops - should have uninstalled Package Test1


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

avatar HLeithner
HLeithner - comment - 30 Sep 2023

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

avatar exlemor exlemor - test_item - 21 Apr 2024 - Tested successfully
avatar exlemor
exlemor - comment - 21 Apr 2024

I have tested this item ✅ successfully on 1363286

Hi @BrainforgeUK, I have tested successfully but

  1. is this really necessary? ( I ask because would an extension developer not build his/her extension package correctly based on established process/documentation ).

I am definitely no expert, it just feels like we are trying to fix something that shouldn't exist in the real world and/or quite rare if the extension is built correctly. Mind you, I may be completely wrong.

  1. When I tried uninstalling your Package test1.zip, I received these error messages, FYI:

Warning
Package Uninstall: Missing manifest file.

info
Error uninstalling package.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
Update PackageAdapter.php
[4.4] Update PackageAdapter.php
avatar HLeithner HLeithner - edited - 24 Apr 2024

Add a Comment

Login with GitHub to post a comment