? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
28 Oct 2022

Pull Request for Issue # .

Summary of Changes

This step is unnecessary and it breaks some 3rd PD adapters

Testing Instructions

  • Create a new article
  • Select an intro image
  • type the same path for the full image
  • save the article
  • reopen

Everything works

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

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 dgrammatiko dgrammatiko - open - 28 Oct 2022
avatar dgrammatiko dgrammatiko - change - 28 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Oct 2022
Category JavaScript Repository NPM Change
avatar laoneo
laoneo - comment - 28 Oct 2022

I have tested this item successfully on 26176b4

Tested it with the restricted adapter, before the patch it created an url like when saving the article:

Before save:
images/dprestricted/items/com_content.article/1/actions-list.png#joomlaImage://dprestricted-item/actions-list.png?width=1067&height=457
After save:
images/dprestricted/items/com_content.article/1/actions-list.png#joomlaImage://local-images/dprestricted/items/com_content.article/1/actions-list.png?width=1067&height=457

After applying the patch, the urls do look like:

Before save:
images/dprestricted/items/com_content.article/1/actions-list.png#joomlaImage://dprestricted-item/actions-list.png?width=1067&height=457
After save:
images/dprestricted/items/com_content.article/1/actions-list.png#joomlaImage://dprestricted-item/actions-list.png?width=1067&height=457


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

avatar laoneo laoneo - test_item - 28 Oct 2022 - Tested successfully
avatar viocassel
viocassel - comment - 28 Oct 2022

I have tested this item successfully on 26176b4


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

avatar viocassel viocassel - test_item - 28 Oct 2022 - Tested successfully
avatar laoneo laoneo - change - 28 Oct 2022
Status Pending Ready to Commit
avatar laoneo
laoneo - comment - 28 Oct 2022

RTC


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

avatar wilsonge
wilsonge - comment - 28 Oct 2022

Sorry what validation are we skipping here and why? Breaking 3PDs obviously isn't great. But not really understanding why we're ignoring invalid data

avatar dgrammatiko
dgrammatiko - comment - 28 Oct 2022

@wilsonge on connectedCallback the element needs to create the preview image. I wrongly forced validating the value (coming from the db) which is obviously wrong. The validation on typing is still intact

avatar laoneo laoneo - change - 29 Oct 2022
Labels Added: ? NPM Resource Changed ?
avatar fancyFranci fancyFranci - close - 29 Oct 2022
avatar fancyFranci fancyFranci - merge - 29 Oct 2022
avatar fancyFranci fancyFranci - change - 29 Oct 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-10-29 15:41:42
Closed_By fancyFranci
avatar fancyFranci
fancyFranci - comment - 29 Oct 2022

Thank you for helping 3rd PD adapters!

Add a Comment

Login with GitHub to post a comment