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.
Hi,
at the moment there is no compatibility for regcode dynamic to features / strongarm module to store settings.
Since the variables 'regcode_dynamic_settings_%', if added to a feature, are not stored in DB any more, e.g. regcode_dynamic_rules() fails.
I fixed this problem in my patch and introduced a new variable 'regcode_dynamic_rules', which holds the current rule_id's. This makes no need for any query to DB anymore.
I added an upgrade path to set this new variable initially, as well.
The patch works for me fine.
Comment | File | Size | Author |
---|---|---|---|
#4 | regcode-1211650-4.patch | 3.69 KB | TS79 |
regcode_dynamic_strongarm.patch | 3.67 KB | TS79 | |
Comments
Comment #1
aidanlis CreditAttribution: aidanlis commentedLove the work but your patch doesn't apply to git 6.x-2.x, could you reroll? Thanks.
Comment #2
TS79 CreditAttribution: TS79 commentedI only can reroll the patch on versiones, which are checked into the CVS(cvs.drupal.org) since I have no expearance in creating any other patches, which work for you. (I do not use any unix env for develoment).
The 6.x-2.x I can not find in the CVS, 6.x-2.7 is checked in there...
Comment #3
aidanlis CreditAttribution: aidanlis commentedCVS is a 20 year old version control system, Drupal now uses Git for version control.
You can see the Git repository here: http://drupalcode.org/project/regcode.git
If you're stuck on Windows then use http://code.google.com/p/tortoisegit/ perhaps.
Comment #4
TS79 CreditAttribution: TS79 commentedthe patch against 6.x-2.x
Comment #5
TS79 CreditAttribution: TS79 commentedComment #6
TR CreditAttribution: TR commentedDrupal 6 is no longer supported. StrongArm is an obsolete tool for current versions of Drupal, and Features is not needed for the regcode module in the current versions of Drupal because regcode settings are all in configuration management.