- πΊπΈUnited States smustgrave
Updated issue summary.
This appeared today on a site using 10.0
Replicated on another install of 10.1.x
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I've read this issue several times and its not clear what combination of modules (and patches) is needed to trigger it.
The changes to existing tests in the patch makes me feel there might be some behaviour changes here.
Can we get the issue summary updated here with the latest state of play - thanks!
- πΊπΈUnited States smustgrave
Updated issue summary slightly. But no contrib or patches needed. This is reproducible out of the box.
- last update
over 1 year ago 29,554 pass, 1 fail - @smustgrave opened merge request.
- last update
over 1 year ago 29,554 pass, 1 fail - Status changed to Needs review
over 1 year ago 6:47pm 26 June 2023 - πΊπΈUnited States smustgrave
Turned patch into MR. Lets see what fails.
- Status changed to Needs work
over 1 year ago 8:05pm 26 June 2023 - πΊπΈUnited States smustgrave
Failure is legit. May need a new solution.
- last update
over 1 year ago 29,550 pass, 3 fail - last update
over 1 year ago CI aborted - last update
over 1 year ago 29,556 pass, 2 fail - last update
over 1 year ago 29,560 pass - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Updated steps to test after manual testing
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Left a review with the path forward and root cause
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
On second thoughts, I think a simpler way forward would be to:
- Prevent the 'source' field from being shown in the list of fields available in the mappings
- An update path to remove such entries from any existing media type
- πΊπΈUnited States phenaproxima Massachusetts
Holy smoke, I can't believe we allow the source field -- i.e., the single most critical field on any media entity, without which everything about that entity breaks badly -- to be mapped!! That's a major oversight.
I agree with @larowlan's proposed solution in #73.
- Merge request !4355Issue #3271688: Media Mappings breaking revisions β (Closed) created by smustgrave
- Open on Drupal.org βEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 29,802 pass, 1 fail - Assigned to smustgrave
- πΊπΈUnited States smustgrave
Well I know where 1 test will go.
Will work on the post_update this evening/tomorrow.
- last update
over 1 year ago 29,807 pass - Status changed to Needs review
over 1 year ago 1:41am 11 July 2023 - Status changed to Needs work
over 1 year ago 2:17am 11 July 2023 - πΊπΈUnited States phenaproxima Massachusetts
This is a great start! I've left a review with some proposed changes, hopefully to make things a little simpler and more robust.
Also we'll need to re-title and re-summarize this issue.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,806 pass, 3 fail - last update
over 1 year ago 29,806 pass, 3 fail - last update
over 1 year ago 29,807 pass, 2 fail - last update
over 1 year ago 29,809 pass - πΊπΈUnited States smustgrave
Updated post_update for the failing test. Think maybe the oembed fixture was off too but is now passing locally.
Updated title
Updated IS in #79 to match proposed solution - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:03pm 12 July 2023 - πΊπΈUnited States phenaproxima Massachusetts
It's not a big deal, but the
if ($source_field)
check shouldn't be needed. All media types must have a source field, or they break.I understand it's because we have a broken fixture somewhere, but could we not adjust the fixture -- or the test which uses it?
But as I said, the extra
if
shouldn't matter much since all functioning media types have a source field. I think this is ready for review. - last update
over 1 year ago 28,972 pass, 81 fail - Status changed to Needs work
over 1 year ago 12:50am 24 July 2023 - πΊπΈUnited States smustgrave
Moving this to NW for the validator. I tried getting it started but it needs work.
- last update
over 1 year ago 29,880 pass - last update
over 1 year ago 29,878 pass, 2 fail - last update
over 1 year ago 29,879 pass - last update
about 1 year ago 30,353 pass, 2 fail - Status changed to Needs review
about 1 year ago 12:13am 3 October 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Kicked things along a bit
- last update
about 1 year ago 30,353 pass, 2 fail - Status changed to Needs work
about 1 year ago 1:42pm 3 October 2023 - last update
about 1 year ago 30,373 pass - Status changed to RTBC
about 1 year ago 2:07pm 4 October 2023 - last update
about 1 year ago 30,367 pass, 2 fail - last update
about 1 year ago 30,384 pass - last update
about 1 year ago 30,386 pass - last update
about 1 year ago 30,395 pass - last update
about 1 year ago 30,399 pass - last update
about 1 year ago 30,413 pass - last update
about 1 year ago 30,418 pass - last update
about 1 year ago 30,422 pass - last update
about 1 year ago 30,426 pass, 1 fail - last update
about 1 year ago 30,436 pass - last update
about 1 year ago 30,440 pass - last update
about 1 year ago 30,458 pass - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,485 pass - last update
about 1 year ago 30,488 pass - last update
about 1 year ago 30,488 pass 8:11 32:16 Running- last update
about 1 year ago 30,514 pass - last update
about 1 year ago 30,521 pass - last update
about 1 year ago 30,532 pass - last update
about 1 year ago 30,556 pass 8:10 5:34 Running- last update
about 1 year ago 30,606 pass - last update
about 1 year ago 30,607 pass - last update
about 1 year ago 30,669 pass - last update
about 1 year ago 30,677 pass - last update
about 1 year ago 30,681 pass - last update
about 1 year ago 30,686 pass - last update
about 1 year ago 30,690 pass - last update
about 1 year ago 30,690 pass - last update
about 1 year ago 30,690 pass 23:10 19:27 Running- last update
about 1 year ago 30,700 pass - last update
about 1 year ago 30,714 pass - last update
about 1 year ago 30,726 pass - last update
about 1 year ago 30,745 pass, 2 fail - last update
about 1 year ago 30,747 pass, 2 fail - last update
12 months ago 25,867 pass, 1,800 fail - Status changed to Needs work
12 months ago 8:25am 22 December 2023 - First commit to issue fork.
- Status changed to Needs review
12 months ago 11:14am 30 December 2023 - π§πͺBelgium borisson_ Mechelen, π§πͺ
Merged 11.x into this branch, resolved the remarks by @Wim Leers.
- Status changed to Needs work
12 months ago 1:47pm 31 December 2023 - π§πͺBelgium borisson_ Mechelen, π§πͺ
There's a failure in
MediaTypeValidationTest::testRequiredPropertyValuesMissing
, this was recently introduced in π Configuration schema & required values: add test coverage for `nullable: true` validation support Fixed - πΊπΈUnited States smustgrave
So rebased but still can't figure out why that test is failing
Should an is_array check be added to OembedMediaMappingsConstraintValidator you think?
- Status changed to Needs review
9 months ago 6:24pm 28 March 2024 - πΊπΈUnited States smustgrave
Added a check if fieldMap is empty, unless someone else can pin point where in the tests it's missing a field_map.
Also reverted back the name change as this isn't specific to oEmbed but all media types. The description was off (copy and paste) so I updated that.
- Status changed to Needs work
9 months ago 9:01pm 1 April 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Left some suggestions on the MR
- Status changed to Needs review
9 months ago 10:20pm 1 April 2024 - Status changed to Needs work
8 months ago 10:40am 11 April 2024 The Needs Review Queue Bot β tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to Needs review
8 months ago 10:41am 11 April 2024 - Status changed to Needs work
8 months ago 9:16pm 11 April 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Couple of minor things now - thanks!
- Status changed to RTBC
8 months ago 11:51pm 11 April 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I've been over this several times and I can't fault it now. Thanks @smustgrave for putting up with my change requests.
- π¬π§United Kingdom alexpott πͺπΊπ
As this bug requires an update function only backporting to 10.3.x. I'll put it to the release managers to backport this to 10.2.x
Committed and pushed 1857ebff31 to 11.x and 7c2638e272 to 10.3.x. Thanks!
-
alexpott β
committed 7c2638e2 on 10.3.x
Issue #3271688 by smustgrave, larowlan, phenaproxima, borisson_, ravi....
-
alexpott β
committed 7c2638e2 on 10.3.x
- Status changed to Fixed
8 months ago 10:21am 14 April 2024 -
alexpott β
committed 1857ebff on 11.x
Issue #3271688 by smustgrave, larowlan, phenaproxima, borisson_, ravi....
-
alexpott β
committed 1857ebff on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.