? Language Change ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
25 Apr 2022

Pull Request for Issue #37640 .

Summary of Changes

  • Call the Custom Element function setValue instead of manually updating the value

Testing Instructions

  • Edit an article and go to the images tab
  • Open the inspector and inspect the intro image input (the one left to the select button bellow the image)
  • type in the browser's console $0.addEventListener('change', (e) => console.log(e))
  • Select an image, check that a change event was recorded in the console
  • Clear the field, check the recorded event
  • Select another image and check that the event was recorded again

Actual result BEFORE applying this Pull Request

No event on image selection

Expected result AFTER applying this Pull Request

Documentation Changes Required

No this is a bug

d88638c 19 Dec 2021 avatar dgrammatiko CS
avatar dgrammatiko dgrammatiko - open - 25 Apr 2022
avatar dgrammatiko dgrammatiko - change - 25 Apr 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2022
Category JavaScript Repository NPM Change
avatar laoneo
laoneo - comment - 25 Apr 2022

Can you rebase this to 4.2?

avatar dgrammatiko dgrammatiko - change - 25 Apr 2022
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2022
Category JavaScript Repository NPM Change Unit Tests Administration com_cache com_config com_contact com_content com_finder com_languages com_media com_menus com_redirect com_templates com_users Language & Strings Modules
avatar dgrammatiko
dgrammatiko - comment - 25 Apr 2022

So 4.1 and 4.2 are not in sync? @laoneo

avatar richard67
richard67 - comment - 25 Apr 2022

@dgrammatiko I think the problem with the branch sync will be solved after the next upmerge from 4.1-dev to 4.2-dev and then update of the branch of this PR to 4.2-dev. As there is an alpha-2 release scheduled for tomorrow, I assume the upmerge will happen just after that.

avatar dgrammatiko
dgrammatiko - comment - 25 Apr 2022

@richard67 sure but I have no clue why this small bug fix needs to wait few months in order to be (potentially) merged. It's not very helpful for those devs that have a problem with the field right now. Anyways, not my call, just seems not very dev friendly approach

avatar richard67
richard67 - comment - 25 Apr 2022

@richard67 sure but I have no clue why this small bug fix needs to wait few months in order to be (potentially) merged.

@dgrammatiko Maybe you misunderstood or I explained wrong. Tomorrow is 4.2 alpha-2 and after that the upmerge, so your PR can be tested and RTC'ed on the day after tomorrow, I would think.

avatar richard67
richard67 - comment - 25 Apr 2022

@dgrammatiko P.S. Ah .. you mean the rebase decision? Well I don't know why that was made. @laoneo ?

avatar richard67
richard67 - comment - 25 Apr 2022

@laoneo To me this PR seems to be a bug fix, so I don't see why it should go into 4.2. What am I missing?

avatar dgrammatiko dgrammatiko - change - 30 Apr 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-04-30 11:28:10
Closed_By dgrammatiko
Labels Added: ? Language Change ?
Removed: NPM Resource Changed ?
avatar dgrammatiko
dgrammatiko - comment - 30 Apr 2022

@richard67 this should be already fixed for 4.2 with #37654, so this isn’t needed anymore

avatar dgrammatiko dgrammatiko - close - 30 Apr 2022
avatar richard67
richard67 - comment - 30 Apr 2022

@dgrammatiko Thanks.

avatar dgrammatiko
dgrammatiko - comment - 30 Apr 2022

Unless the fix is ok for 4.1, then I can redo this PR (2 lines or whatever)

avatar richard67
richard67 - comment - 30 Apr 2022

Unless the fix is ok for 4.1, then I can redo this PR (2 lines or whatever)

@bembelimen I think that's on you to decide.

avatar dgrammatiko
dgrammatiko - comment - 30 Apr 2022

So I redid it in #37702, feel free to close the PR if 4.2 is fine

Add a Comment

Login with GitHub to post a comment