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

Strange behaviour if same field is used multiple times #350

Open
georgringer opened this issue Feb 19, 2025 · 1 comment
Open

Strange behaviour if same field is used multiple times #350

georgringer opened this issue Feb 19, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@georgringer
Copy link

If you got 2 blocks using the same field but with a different configuration, there is no hint why a configuration is not used.

Example

got block cta with

  -
    identifier: link
    type: Text

and keyvisual with

  -
    identifier: link
    type: Link

now also the keyvisual didn't get the type link but stayed as plain input field.

I see there 2 options:

  • Use the tca override to set the type to the proper configuration
  • provide a warning

it is impossible for an integrator to find out the issue. I also wondering about the loading order as I thought that keyvisual wins over cta but that is a different thing

@nhovratov
Copy link
Contributor

We need to make this constellation impossible and fatal out. Overriding is no option, as type should never be overridden per element.

Loading order is undefined, unless you configure priority for the block.

@nhovratov nhovratov added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants