Unable to create a non-taxonomy role filter when current context set
As admin, visit try creating a new role filter in the UI for resource type Role. After submit no error message is displayed but the create page remains (versus normal behavior of returning to full list of filters). Looking at log an error is present of "Failed to save: Organization ids You can't assign organizations to this resource".
#3 Updated by Dominic Cleal over 5 years ago
- Subject changed from unable to create a role filter to Unable to create a non-taxonomy role filter when current context set
Only happens when multi-org's enabled and a current context is set, then the current context's added to the filter.
Looks like the add_current_* methods aren't being overridden correctly, they're overridden as class methods when they're actually instance methods.