Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I installed Workbench Access on a site that had neither Menu nor Taxonomy enabled. On the Workbench Access admin screen, instead of some kind of error message, I just saw a field label for a required field, with no options.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2118101-wb-access-missing-dependency-ui-3.patch | 2.64 KB | bbinkovitz |
#1 | 2118101-wb-access-missing-dependency-ui.patch | 2.64 KB | bbinkovitz |
Screen Shot 2013-10-22 at 5.12.41 PM.png | 79.87 KB | bbinkovitz |
Comments
Comment #1
bbinkovitz CreditAttribution: bbinkovitz commentedThe attached patch displays a message to the user to enable taxonomy or menu if the $options array for the active schemata is empty, instead of displaying the form.
Comment #2
bbinkovitz CreditAttribution: bbinkovitz commentedComment #4
bbinkovitz CreditAttribution: bbinkovitz commentedIt helps if there aren't typos in the patch.
Comment #6
agentrickardChecking why that failed testing.
Comment #7
agentrickardWorked for me.
Comment #8
agentrickard4: 2118101-wb-access-missing-dependency-ui-3.patch queued for re-testing.
Comment #10
jiv_e CreditAttribution: jiv_e as a volunteer and commentedWhy doesn't workbench_access add taxonomy and menu as dependencies?
Comment #11
agentrickardBecause neither is required, and you can also use other access schemes that aren't part of this release.
Comment #12
jiv_e CreditAttribution: jiv_e as a volunteer and commentedOk! It's just that I got an error because of undefined function or undefined property without taxonomy installed. I already enabled taxonomy and didn't copy the error message (<-- stupid). I was in hurry and have my build dependent of taxonomy now. Also don't have time to reproduce the error. I still add my quess where the error came from, if it's worth anything.
Inside workbench_access.module:
Comment #13
agentrickardThat makes sense.