Language Change bug PR-4.4-dev PR-5.2-dev 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
avatar richard67 richard67 - change - 26 Oct 2024
Labels Added: bug PR-4.4-dev
avatar HLeithner
HLeithner - comment - 15 Nov 2024

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

avatar HLeithner HLeithner - change - 15 Nov 2024
Title
[4.4] Update PackageAdapter.php
[5.2] Update PackageAdapter.php
avatar HLeithner HLeithner - edited - 15 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 15 Nov 2024
Category Libraries Administration com_media Language & Strings Installation
avatar Hackwar
Hackwar - comment - 22 Nov 2024

Hello @BrainforgeUK, something went wrong when switching the branches and you have now unrelated changes in your PR. Could you rebase the PR and fix those issues?

avatar BrainforgeUK
BrainforgeUK - comment - 26 Nov 2024

The original commit was a one file, one line change.
Looked like the easiest thing to do was to create a new pull request : 44530

Looks like I needed to revert everything on the original pull and start again.
Appears I don't have revert priviledge, even though its my pull request!

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/reverting-a-pull-request

avatar Hackwar Hackwar - change - 26 Nov 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-11-26 16:09:31
Closed_By Hackwar
Labels Added: Language Change PR-5.2-dev
avatar Hackwar Hackwar - close - 26 Nov 2024
avatar Hackwar
Hackwar - comment - 26 Nov 2024

Since you recreated the PR, I'm closing this one.

Add a Comment

Login with GitHub to post a comment