? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
13 Jan 2022

Summary of Changes

The media select field has a hard dependency to the local adapter to insert media data. Instead of it should just check if the media file is a local one or not. This allows adapters which are working with local files as well to insert relative urls.

Testing Instructions

  • Download and install the free version DPMedia from here
  • Create a Pixabay adapter in the back end as described here
  • In the article form select an image from the local adapter
  • In the article form select an image from the Pixabay adapter

Actual result BEFORE applying this Pull Request

  • Local has a relative url
  • Pixabay has the url to pixabay

Expected result AFTER applying this Pull Request

  • Local has a relative url
  • Pixabay has the url to pixabay
avatar laoneo laoneo - open - 13 Jan 2022
avatar laoneo laoneo - change - 13 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Jan 2022
Category JavaScript Repository NPM Change
avatar laoneo laoneo - change - 13 Jan 2022
Labels Added: ? NPM Resource Changed
cb11924 13 Jan 2022 avatar laoneo cs
avatar richard67
richard67 - comment - 13 Jan 2022

@laoneo Is it right that actual and expected result are the same? Or is that some kind of typo?

avatar laoneo
laoneo - comment - 13 Jan 2022

It should be the same.

avatar richard67
richard67 - comment - 13 Jan 2022

@laoneo Hmm, but then I would expect another test to show the difference described in the description. Is there some 3rd party adapter available which works with local files so it can be tested, too?

avatar dgrammatiko
dgrammatiko - comment - 13 Jan 2022

I have tested this item successfully on cb11924

Also tested with https://restrictedfs.dgrammatiko.dev (alternative local adater)


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

avatar dgrammatiko dgrammatiko - test_item - 13 Jan 2022 - Tested successfully
avatar laoneo
laoneo - comment - 13 Jan 2022

I tested it with a local adapter I'm shipping soon with DPMedia and it worked, and now @dgrammatiko tested it with his one. Guess more we can't provide atm.

avatar BPBlueprint
BPBlueprint - comment - 14 Jan 2022

I have tested this item successfully on cb11924

Tested successfully


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

avatar BPBlueprint BPBlueprint - test_item - 14 Jan 2022 - Tested successfully
avatar richard67 richard67 - change - 14 Jan 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 14 Jan 2022

RTC


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

avatar laoneo laoneo - change - 22 Jan 2022
Labels Added: ?
avatar bembelimen bembelimen - change - 25 Jan 2022
Status Ready to Commit Pending
avatar bembelimen
bembelimen - comment - 25 Jan 2022

Reset as there were some changes.


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

avatar laoneo
laoneo - comment - 25 Jan 2022

There were no changes, only merge conflicts. So ready to commit.

avatar laoneo laoneo - change - 25 Jan 2022
Labels Removed: ?
avatar Quy Quy - alter_testresult - 25 Jan 2022 - BPBlueprint: Tested successfully
avatar Quy Quy - alter_testresult - 25 Jan 2022 - dgrammatiko: Tested successfully
avatar Quy Quy - change - 25 Jan 2022
Status Pending Ready to Commit
avatar bembelimen bembelimen - change - 31 Jan 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-01-31 15:15:07
Closed_By bembelimen
Labels Added: ? ?
Removed: ?
avatar bembelimen bembelimen - close - 31 Jan 2022
avatar bembelimen bembelimen - merge - 31 Jan 2022
avatar bembelimen
bembelimen - comment - 31 Jan 2022

Thx

Add a Comment

Login with GitHub to post a comment