User tests: Successful: Unsuccessful:
This PR fixes a JS error when trying to view the "diff" between content versions, due the dependency not being called.
Uncaught TypeError: window.Diff is undefined
The diff is displayed, showing green/red blocks
I'm aware the diff fails a11y standards for dark mode, but this should be fixed in a separate PR
Status | New | ⇒ | Pending |
Category | ⇒ | Repository NPM Change |
I have tested this item ✅ successfully on 9025a91
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
NPM Resource Changed
PR-5.1-dev
RTC
|
Labels |
Labels |
Added:
bug
|
I have tested this item ? unsuccessfully on 1eb9c68
Pressing [Apply Patch] results in error message:
«There are no files to patch from this pull request. This may mean that the files in the pull request are not present in your installation.»
"Apply patch" button doesn't work. Error message is "There are no files to patch from this pull request. This may mean that the files in the pull request are not present in your installation."
I have tested this item ? unsuccessfully on 1eb9c68
Cannot apply patch.
Also, actual error is:
Uncaught TypeError: Cannot read properties of undefined (reading 'diffWords')
at l (admin-compare-compare.min.js?907a40:4:169)
at admin-compare-compare.min.js?907a40:4:566
at Array.forEach ()
at HTMLDocument.c (admin-compare-compare.min.js?907a40:4:554)
@eddiekonczal FYII: PRs with NPM Resource Changed
label cannot be tested with PatchTester.
@crimle @Nuyonuyonoina @eddiekonczal I will reset the negative test results as they are not caused by this PR. The PR modifies an NPM dependency, which can be seen by the label "NPM Resource Changed". Such PRs can't be tested with Patchtester, they require either a development environment with composer and NPM, or they need to be applied by using the packages created by drone, which can be found in the "Downloads" section of the integration checks at the bottom of the PR.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-02-25 22:24:00 |
Closed_By | ⇒ | bembelimen |
Thx
I have tested this item ✅ successfully on 9025a91
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42755.