- Issue created by @Kalavan
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 10:54am 4 December 2023 - 🇮🇳India viren18febS
I have resolved the issue & added patch, please review.
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
about 1 year 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
about 1 year 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
8 months ago 7:34am 29 April 2024