Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
#1996130: REST views: not adding dependencies on Serializer providers added an empty update function, it's in 8.2.x
However it's named 800* which doesn't leave any space to add updates before it.
This is an empty update, so it's extremly unlikely to matter in practice, but it makes it hard to add other updates like #2477899: Multiple valued Base fields won't work in Views, so marking major.
Proposed resolution
8200 instead of 800* for updates that only live in 8.2.x
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2743297.patch | 457 bytes | catch |
Comments
Comment #2
catchComment #3
dawehnerThe update system, seriously ...
Comment #5
mayurjadhav CreditAttribution: mayurjadhav commented+1
Comment #6
alexpottCommitted 0fc2e8d and pushed to 8.2.x. Thanks!
Comment #8
alexpottI committed this but then realised I had a question - if we do add a new update function to 8.1.x for views then the patch will have to have a different update number for 8.2.x otherwise on a site running 8.2.x won;t get the update...
Comment #9
dawehnerRight, ideally we then would have a registry of already executed update functions, so that one can skip pre-existing tests if needed.
I'm not sure anymore whether we will have more minor versions after an LTS, but that could be fun given a patch might be applied to even 3 branches at the same time.