-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Metadata Display Entities Revisionable #182
Comments
As of now, Metadata Display Entities are revisionable in #216, but there is no UI/routing/access control to manage the revisions that are generated. There is an RTBC patch in this Drupal issue that hopefully gets committed to core soon, which means we won't have to duplicate existing core code (from nodes for example) or make everything from scratch. We could roll with this as is and users would be able to generate revisions for now that they'd be able to work with in the next release, but maybe that would just be confusing? Otherwise, we can bump this to 1.1.0. @DiegoPino thoughts? |
@aksm and @DiegoPino I see that the Drupal issue has been marked as "Closed (fixed)". Is there further work needed on this PR (other than review/testing)? |
Review and testing is a lot! Do you want to review/test? That would be helpful. Also if its marked as closed fixed, composer.json needs to be mark the version were it was fixed |
@DiegoPino The Drupal core revision for that update is 10.1.0. Should I put this in a PR against @aksm 's format_strawberryfield/composer.json? |
Ah gosh friend. Not yet then. I don't think we can go Drupal 10.1.0 yet. Too much not tested and a big Company just fired the main Drupal Core Committers ... so... let's tag this then for 1.2.0? |
Ah, that's a big disappointment! Looking at what will be involved (running composer update with drupal/core set at 10.1.0 in the root composer.json) shows a scary amount of stuff, including the php version (8.1). Here's I think a complete list for the current archipelago composer.json (culled from running composer update on my local, whose composer.json includes a good number of additional dependencies - I removed those from this list):
|
@patdunlavey reviving this here. Now that I have #391 we can start moving to D10.1. I will open a pull this week. Should not be hard |
A side note about this. Making Entities revision able does not mean we can migrate via JSON API the revisions. we can only ingest a Default revision via the API |
Ok, now dealing with this: https://www.drupal.org/project/drupal/issues/3317361 Unanswered for 7 months .... mmmmmm |
First pass solved via 7f6b946 |
What?
Since metadata display entities drive almost every user facing and import facing transformation we should make them revision able so small changes/mistakes (logic ones, since we already validate them) can be reverted and also there exposed log of the evolution of a twig template in the form of these entities
How?
The task at hand is well document
And involves:
An on our side/integration
Twig templates (our metadata display entities) are used on
@aksm this should not take more than a week. Please open a pull as soon as you start working on this so we can have an ongoing discussion. Thanks!
The text was updated successfully, but these errors were encountered: