Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes SuperFlexi prevents editing if solution changed #196

Open
joseph-fowler opened this issue May 26, 2023 · 1 comment
Open

Sometimes SuperFlexi prevents editing if solution changed #196

joseph-fowler opened this issue May 26, 2023 · 1 comment
Labels

Comments

@joseph-fowler
Copy link

On mysql, when adding Cookie Consent feature on page, Super Flexi displays the error "The selected solution does not contain a matching view" and clicking on "Add Item" results in a permissions error.

@JosephMDavis
Copy link
Member

this appears to have happened because:

  1. The module used for the cookie consent solution was originally used with a banner slider solution
  2. The solution was changed to cookie consent
  3. SuperFlexi recreates the fields for a module based on the chosen solution's field definition file (.sffields) when the Edit(add) page is loaded.
  4. The cookie consent solution only allows one option, thus giving an access denied.
  5. The view expects the fields to match and when they don't it errors (gracefully) with the message you received.

There are a few things we can do to fix this but they're all going to take some time. I would rather leave it as is for now. It's kind of niche problem. We'll most likely prevent this from happening in 2.9.1

@JosephMDavis JosephMDavis changed the title SuperFlexi: Cookie Consent Broken Sometimes SuperFlexi prevents editing if solution changed May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants