Release Blocker NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
28 Feb 2023

Pull Request for Issue #39969 .

Summary of Changes

Fixes package installs. Very unsure about this. In the frontend not sure we can really guarentee urls will looks like this (they might be sef'd up and not starting with a slash or index.php) we might well be better off reverting the original // cc @dgrammatiko

Testing Instructions

See linked issue

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 - 28 Feb 2023
Category Unit Tests Repository Administration com_admin SQL Postgresql
avatar wilsonge wilsonge - open - 28 Feb 2023
avatar wilsonge wilsonge - change - 28 Feb 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Feb 2023
Category Unit Tests Repository Administration com_admin SQL Postgresql JavaScript Repository NPM Change
avatar wilsonge wilsonge - change - 28 Feb 2023
The description was changed
avatar wilsonge wilsonge - edited - 28 Feb 2023
avatar brianteeman
brianteeman - comment - 28 Feb 2023

Sorry but this doesnt fix the reported issue

avatar brianteeman
brianteeman - comment - 28 Feb 2023

Sorry - applied pr on a different server to the one I tested.

Can confirm it is caused by #39580 and the patch works as well.

avatar Fedik
Fedik - comment - 28 Feb 2023

hmhm, then better check for http, kind of:

(
  token
&&
 (
  (!newOptions.url.startsWith('http:') && !newOptions.url.startsWith('https:'))
  ||
  newOptions.url.startsWith(location.origin)
 )
)

(If the url does not have http(s), or it startsWith(location.origin))
Need to test.

avatar wilsonge wilsonge - change - 1 Mar 2023
Title
Fix install
[4.3] Fix drag & drop extension install
avatar wilsonge wilsonge - edited - 1 Mar 2023
avatar Fedik
Fedik - comment - 4 Mar 2023

The thing with http works for me locally. @wilsonge do you update PR or I do new? ?

avatar wilsonge
wilsonge - comment - 6 Mar 2023

Just make it :)

avatar Fedik
Fedik - comment - 11 Mar 2023

Alternative PR #40080

avatar obuisard obuisard - change - 12 Mar 2023
Labels Added: Release Blocker NPM Resource Changed PR-4.3-dev
avatar obuisard
obuisard - comment - 12 Mar 2023

Close in favor of #40080. Thank you George @wilsonge !

avatar obuisard obuisard - close - 12 Mar 2023
avatar obuisard obuisard - change - 12 Mar 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-03-12 12:26:46
Closed_By obuisard

Add a Comment

Login with GitHub to post a comment