- ๐ฎ๐ณIndia Prudhvi32
Unable to decode output into JSON: Syntax error
Error: Call to a member function uuid() on null in taxonomy_convert_entity_ids_to_uuids().
on line 78 app\core\modules\taxonomy\taxonomy.post_update.phpFor this issue, we created a patch and patch is working fine.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - Status changed to Needs review
over 1 year ago 3:55pm 18 September 2023 - last update
over 1 year ago Custom Commands Failed - ๐ท๐ดRomania vasike Ramnicu Valcea
Here it is just a re-roll of previous patch. i hope i didn't miss a thing.
Let's see if it passes. Maybe we'll have also a MR that could help chasing and keep it updated till ... it's done
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 29,479 pass - last update
over 1 year ago 30,164 pass - ๐ท๐ดRomania vasike Ramnicu Valcea
Small update, attempting to fix CS/phpstan errors.
+ A version for 10.1.x, as it seems they are not the same.
- last update
over 1 year ago 28,526 pass - Status changed to Needs work
over 1 year ago 2:03pm 19 September 2023 - ๐บ๐ธUnited States smustgrave
Taking a brief look and looks like this is very close.
Seems like changing to UUID should be captured in a change record though, just to let others know.
- last update
about 1 year ago Patch Failed to Apply - last update
about 1 year ago 28,526 pass - ๐ณ๐ฑNetherlands Lendude Amsterdam
There is still a lot of clean up happening here, which makes it really hard to review. While I like that logic is moved to its own methods instead of having one giant method, it makes reviewing this very hard, because its really hard to see which changes are needed here and which changes are just moving existing logic around. Please please please keep the patch/MR as small as possible
This feels very light on test coverage, but again, since it's hard to see what is actually new code here that should have test coverage, it might be sufficient.
Since we have an update hook, it should have an upgrade path test for that hook.
- Merge request !8605Have Views' taxonomy term filters use UUIDs instead of entity IDs โ (Open) created by scott_euser
- ๐ฌ๐งUnited Kingdom scott_euser
Moving to an MR for now, still needs addressing feedback from #94 as next step, ie:
- Reduce scope as much as possible
- Increase test coverage if needed
- ๐ฌ๐งUnited Kingdom scott_euser
The failure is unrelated it seems. I am not sure why it still fails as it seems @dww had fixed that here https://www.drupal.org/project/drupal/issues/2640994#comment-15597379 ๐ Fix label token replacement for views entity reference arguments Fixed and it was committed to 10.3.x through to 11.x. @smustgrave, any chance you have seen this elsewhere as well? The MR/Fork is new from today so I would think it should not have that problem
- Status changed to Needs review
6 months ago 4:33pm 1 July 2024 - ๐ฌ๐งUnited Kingdom scott_euser
Beyond that I think test coverage actually may not need much change as the existing test coverage before this issue should actually be validating that the existing complete process of updating, saving, filtering by continues to work.
- Merge request !8624Draft: [10.3.x ONLY DO NOT MERGE] Have Views' taxonomy term filters use UUIDs instead of entity IDs โ (Open) created by scott_euser
- First commit to issue fork.
- Status changed to Needs work
5 months ago 11:13am 20 July 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. 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.
- ๐ซ๐ทFrance mefianf
A small patch update for 10.3.x, as it seems they are not the same.
- Status changed to Needs review
5 months ago 7:01pm 27 July 2024 - ๐ฌ๐งUnited Kingdom scott_euser
2761157-views-taxonomy-uuid
branch still merges and passes fine, with expected config validation change (if I understand that warning right). So back to needs review since I believe #94 has been addressed/responded to. So it would be good if someone could confirm and change to RTBC since I made too many changes to this myself.(Also hiding patches, for those adding them, please instead follow the documentation for downloading merge requests as patches โ locally to avoid confusion + avoid issues with needs review bot pushing these issues back to needs work unecessarily)
- ๐ฌ๐งUnited Kingdom scott_euser
Change record added here: https://www.drupal.org/node/3464158 โ
Update issue summary to standard template but kept the original solution additional chapter. - Status changed to Needs work
5 months ago 7:27pm 27 July 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. 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
5 months ago 9:26pm 27 July 2024 - ๐บ๐ธUnited States smustgrave
smustgrave โ changed the visibility of the branch 2761157-views-taxonomy-uuid--10-3-x to hidden.
- Status changed to Needs work
5 months ago 6:59pm 1 August 2024 - ๐บ๐ธUnited States smustgrave
On the back-end (storage), store IDs as UUIDs
So for the schema update should it be of type: uuid?
Which is validated
- Status changed to Needs review
5 months ago 8:03pm 1 August 2024 - Status changed to Needs work
5 months ago 8:49pm 1 August 2024 - ๐บ๐ธUnited States smustgrave
My comment for uuid I could be wrong just seemed like it lined up
- ๐ฌ๐งUnited Kingdom scott_euser
No, it really does look right. All 3 failures pass locally when I re-run so I triggered re-run via gitlab CI now
- ๐ฌ๐งUnited Kingdom scott_euser
:facepalm, I hadn't pulled because the changes were applied via gitlab UI. They do fail locally. Not a valid UUID error, so could be our sample data...
- ๐ฌ๐งUnited Kingdom scott_euser
Okay its really legitimately showing again what we are seeing now and then, that the Views configuration stored in test views & config install | config optional are not updated by update hooks and therefore out of date and need to be manually update.
However in this case, even when
- Import test view single config
- Resave
- Config export
- Running
phpunit -c core/phpunit.xml core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyIndexTidFilterTest.php
There is actually a problem with calculateDependencies() in the code itself revealed here. The 'content' key is not getting populated with the references to the UUIDs and therefore does not match the view. We need to fix that first. I updated the issue summary with this.
- ๐ช๐ธSpain tonibarbera
The patch doesnยดt apply to Drupal 10.3.1. Rerolled the patch for that version
- Status changed to Needs review
5 months ago 9:10am 2 August 2024 - Status changed to Needs work
5 months ago 10:07am 2 August 2024 - ๐ฌ๐งUnited Kingdom scott_euser
#115 not yet addressed, let's keep it at needs work as it needs work still. Hiding patches in favour of merge request.
- ๐ฌ๐งUnited Kingdom scott_euser
2761157-views-taxonomy-uuid--10-3-x branch updated to apply to 10.3.2.
- Merge request !9494Issue #2761157 by olmyr: Have Views' taxonomy term filters use UUIDs instead of entity IDs โ (Open) created by olmyr
- ๐ฌ๐งUnited Kingdom scott_euser
- Updated views wizard to also respect this
- Fixed test failures
- Updated issue summary
- ๐บ๐ธUnited States smustgrave
Very neat!
Left some comments on the MR.
- ๐ฌ๐งUnited Kingdom scott_euser
Thanks for the feedback! Comments address + update test added + 2nd change record added