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

Umbraco.BlockList Incorrect Data? #13413

Open
thientu995 opened this issue Nov 15, 2022 · 1 comment
Open

Umbraco.BlockList Incorrect Data? #13413

thientu995 opened this issue Nov 15, 2022 · 1 comment

Comments

@thientu995
Copy link

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

10.3.2

Bug summary

Blocklist gets incorrect data when using Content Template?
It is repeating the previous data!

If I don't include the Element Type in the Content Template, this won't happen?

Specifics

  1. I create 1 Document Type "Products" to display product list
  2. I create 1 Document Type "Product" to display product details
  3. I will create 1 Element Type "Content", It is used as a component for Product.
  4. I create Content Template for "Product"
  5. Back to the Content tab, I created 2 products with the newly created Content Template. I noticed that BlockList was repeating previous data due to

This won't happen if I don't add any Element Type in the Content Template's BlockList. Or, I delete and recreate the Element Type in the Content's BlockList

Steps to reproduce

Database: SQL Server or SQLLite.

Source:
Archive.zip

Account and Password: admin@localhost.com

Screenshot 2022-11-15 at 21 20 51

Expected result / actual result

No response

@Zeegaan
Copy link
Member

Zeegaan commented Jan 24, 2023

Thanks for the zip file, it made things much easier! Just jumping in here to say I could definitely reproduce this, and it seems its also an issue for the blockgrid editor here: #13413

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

2 participants