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.
I have ABT enabled. I have created a taxonomy, and related it to a content type.
ABT lets me choose, how much I want to affect access through this relation. I can choose between "yes, restrict access even if node is not tagged", "yes, but allow access if node is not tagged" and "no".
However, when I export my content type + taxonomy with features, the value is "no", no matter what I chose.
Comment | File | Size | Author |
---|---|---|---|
#11 | abt-use_field_config-1834132-11.patch | 14.16 KB | lise.perceives |
#10 | abt-use_field_config-1834132-10.patch | 14.13 KB | lise.perceives |
#9 | abt-use_field_config-1834132-9.patch | 14.11 KB | lise.perceives |
#8 | abt-use_field_config-1834132-8.patch | 14.11 KB | lise.perceives |
#7 | abt-use_field_config-1834132-7.patch | 11.62 KB | lise.perceives |
Comments
Comment #1
mstef CreditAttribution: mstef commentedThat's cause ABT stores in it's own table, instead of the field config. This should be changed..
Comment #2
lise.perceives CreditAttribution: lise.perceives commentedI've tried constructing a patch along those lines. This is the first time I create a patch. I'll fix problems with it, if any occur.
Comment #3
lise.perceives CreditAttribution: lise.perceives commentedUpdating status to trigger test.
Comment #5
mstef CreditAttribution: mstef commentedYou need to make the patch from inside the module directory
This is how you have it now (first line of the patch):
Comment #6
lise.perceives CreditAttribution: lise.perceives commentedI can see, that the dev version seems to solve the same problem, but in quite a different way. However, it's not possible to roll forward from abt recommended to abt development at the moment, as there's no update function yet.
I'll hold any more code work until I've decided what to do about this regarding my own needs.
Comment #7
lise.perceives CreditAttribution: lise.perceives commentedUpdated patch (same code, but formated correctly).
Oops! Need to update abt.test also.
Comment #8
lise.perceives CreditAttribution: lise.perceives commentedabt.test corrected, trying again.
Comment #9
lise.perceives CreditAttribution: lise.perceives commentedCorrected error (function name beginning with $).
Comment #10
lise.perceives CreditAttribution: lise.perceives commentedTrying to fix one case, where 0 != 1.
Comment #11
lise.perceives CreditAttribution: lise.perceives commentedTrying to fix same error in another way. (Old abt way is not to save a row in abt_map, if access isn't regulated at all.)
Comment #12
betz CreditAttribution: betz commentedThe patch at #11 isn't exporting the abt settings for me.
Fresh install after patching abt.
Comment #13
lise.perceives CreditAttribution: lise.perceives commentedDid you export the field(s), that abt was related to?
What did you export?
Comment #15
adooo CreditAttribution: adooo as a volunteer commentedIt should be in dev now - I'll have it in a realease after few more issues.