- Issue created by @Kalavan
- First commit to issue fork.
- Status changed to Needs review
12 months ago 10:54am 4 December 2023 it's good to have a custom name maybe, not sure if there's a problem with having a generic name within a theme itself, the patch just renames the function
the Ajax error you are referring to, need more context, could be a drupal error and not a Radix issue, also depends on your implementation
- Status changed to Closed: won't fix
12 months ago 8:20am 10 December 2023 - 🇺🇸United States jimconte
We are running Radix on a site using Layout builder and getting the same error.
Removing the hook and the function, error goes away.This is what I think is happening:
- Form loads in front end context (Radix)
- Layout Builder mixes with front end, runs form alter hook from Radix
- Form builds, adds #validate looking for "validateForm" function
- Editor edits
- Edit function called from Layout Builder
- But Layout Builder runs in Admin context
- Ajax Form executes in Admin context
- function does not exist in Admin theme
- error is thrown
- Status changed to Active
11 months ago 10:02pm 14 December 2023 - 🇺🇸United States jimconte
Steps to reproduce:
- Install Radix as front end theme
- Enable layout builder
- Create a Custom Block type with an image
- Add inline block to any node with Layout builder
- Add image to block
- Submit change
- Error thrown
- Status changed to Closed: won't fix
7 months ago 7:34am 29 April 2024