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.
Hello
Problem/Motivation
I am configuring the cache for Open Atrium and I need Flag 7.x-3.x and Open Atrium has 7.x-2.1+3-dev. The module that needs it is Authcache 7.x-2.0-beta4+6-dev that is the recommended. Since I am going to try to use the submodule Authcache Flag, I will report if I have any problem.
Proposed resolution
Update to that version.
Remaining tasks
Testing that has not problems and make the pacth.
User interface changes
None.
API changes
None, but changing the version.
Comment | File | Size | Author |
---|---|---|---|
#5 | oa_core-update_flag_3-2474195-5.patch | 944 bytes | mpotter |
Comments
Comment #1
candelas CreditAttribution: candelas commentedI just saw in the releasse that for upgrading:
The upgrade from Flag 7.x-2.x to 7.x-3.x must be made in isolation of any other module upgrades, as other upgrades will cause database errors due to Flag's tables being renamed. #1870300: Upgrade from Flag 2.x to Flag 3.x can fail if other update hooks clear cache
Comment #2
candelas CreditAttribution: candelas commentedCorrecting my English
Comment #3
candelas CreditAttribution: candelas commentedComment #4
candelas CreditAttribution: candelas commentedI don't know how to solve
Flags which are defined in code with hook_flag_default_flags() or Features need to be re-exported.
so I revert to the previous version and wait if someone can give advice.
Comment #5
mpotter CreditAttribution: mpotter at Phase2 commentedMost of Atrium was already upgraded to use Flag 3.x in the previous 7.x-2.611 release. However, the API change for hook_flag becoming hook_flag_flag and hook_flag_unflag was missed. This patch fixes that.
Comment #6
mpotter CreditAttribution: mpotter at Phase2 commentedCommitted to 38dc30f.
Comment #7
mpotter CreditAttribution: mpotter at Phase2 commentedNOTE: Other fixes for Flag 3.x are in the patch for #2842518: Command buttons shown for archived sections and in the latest dev version of the Trash Flag module (will be release 1.1 soon)