Follow-up to #2649914: Enforce formatter dependencies on views fields
Problem/Motivation
The update text says "Update dependencies to image style." This is wrong for a number of reasons - it is updating views dependencies and it is update them to have any field formatter dependencies which include image styles.
Proposed resolution
Fix text and move update function to bottom of file to be in the order expected by @addtogroup annotations.
Remaining tasks
User interface changes
Text change on update.php
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff.txt | 607 bytes | claudiu.cristea |
| #5 | 2683263-5.patch | 1.11 KB | claudiu.cristea |
Comments
Comment #2
alexpottComment #3
claudiu.cristeaStraight.
Comment #4
catchWe should rename it as well to not be image_style_dependencies().
Comment #5
claudiu.cristeaRenamed.
Comment #6
claudiu.cristeaComment #7
claudiu.cristeaI guess this is RTBC again because the's only a rename.
Comment #8
dawehnerWait, won't this execute the same function twice now potentially?
Comment #9
catchWell it could, but it's re-entrant so does that matter during beta?
Comment #10
dawehnerGiven that we here just talk about resaving all the views, so something which doesn't cause any harm, I think we are risk free here, so let's just do it.
Comment #11
catchYes and it will only run twice on sites that already updated anyway, and therefore not even in the same update run.
Committed/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!