Hi I was just wondering why a custom submit handler was added in the 7.15 version of the module? The new version of this no longer works with Domain Access.

Thanks

Comments

jenlampton’s picture

Category: Support request » Bug report
Status: Active » Postponed (maintainer needs more info)

If there's a bug with domain access that is a problem that should be addressed. Can you please explain what you mean by "no longer works", and include some steps to reproduce? All the submit handler does is save variables, so that shouldn't be what's causing the problem. Can you explain why you think it's the submit handler? It's most likely something else - but should be addressed either way.

jenlampton’s picture

Title: New Submit Handler causes errors for Domain Access » No longer works with Domain Access

updating title.

EsmeraldaUBM’s picture

Responding as this needs more info: So it seems like the issue is that in the 7.15 version system_settings_form() has been replaced with a custom form validation. Domain access uses the system_settings_form function as follows.

This function checks the #submit value of the form to see if system_settings_form() has been invoked. If so, we may attach domain-specific settings to the form, if the user is permitted to use this module and the form is not on the administrator's denied list.

So these can no longer be used with domain access. I have tried to alter the form so that we can go through all of these validations similar to the example here https://www.drupal.org/node/2399557 and https://drupal.stackexchange.com/questions/80136/multiple-submit-handlers but I'm not sure that I'm getting anywhere. Any help possible on this?