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

Bug: Culture variant Block does not act correct without any varying properties #17521

Closed
nhudinh0309 opened this issue Nov 13, 2024 · 2 comments

Comments

@nhudinh0309
Copy link
Contributor

nhudinh0309 commented Nov 13, 2024

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.0.0-rc4

Bug summary

In content that includes both invariant and variant blocks, the data in the invariant block is not saved correctly in different languages.

Specifics

No response

Steps to reproduce

  1. Create an element type with "Vary by culture" enable for all properties (ex. ElementForBlock)
  2. Create other element type with "Vary by culture" enable for all properties (ex. ElementForBlockINV)
  3. Create a document type with Block List property that includes ElementForBlock and ElementForBlockINV
  4. Create a content with the Block List
  5. Add one variant block and on invariant block

Expected result / actual result

The data in the 2 blocks should be saved correctly. Currently the data in the invariant block is not saved correctly in different languages

InvariantBlock_Issue.mp4

This item has been added to our backlog AB#46005

@nielslyngsoe
Copy link
Member

Hi @nhudinh0309

Thanks,

The invariant Block you described must be an Element that Varies by Culture, but does not have any varying properties. This case I'm able to replicate.

It turns out the server changes the expose entry, most likely because of no properties varying on this Element.

this the my request:
image

and response from the server:
image

So with that it turns out to be a backend bug. But notice the very specific case of having varying element without any varying properties.

@nielslyngsoe nielslyngsoe added state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks and removed area/frontend labels Nov 13, 2024
@azure-devops-sync azure-devops-sync bot changed the title V15 Block Level Variants: The invariant block is not saved together in different language Bug: Culture variant Block does not act correct without any varying properties Nov 15, 2024
@kjac kjac assigned kjac and unassigned nielslyngsoe Nov 19, 2024
@elit0451 elit0451 added release/15.1.0 and removed state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks area/backend affected/v15 labels Nov 25, 2024
@elit0451
Copy link
Member

Fixed in #17621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants