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

Error not being cleared when content added to Block List #18292

Open
AdrianFleming opened this issue Feb 11, 2025 · 3 comments
Open

Error not being cleared when content added to Block List #18292

AdrianFleming opened this issue Feb 11, 2025 · 3 comments

Comments

@AdrianFleming
Copy link

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

15.1.2

Bug summary

If content is added to a property of type Block List then the property name is highlighted in red

Image

Specifics

I have created a document type which has a property of type Block List in Single block mode. When adding the property, its name turns red and an exclamation mark in a circle with a red background appears along with the error "Minimum %0% entries, requires %1% more." (which I also think is a bug, it should say 1 rather than %0% or %1% but I can live with this). When content is created this error disappears, but the property name is still red and the exclamation mark is still shown. The page cannot be published, it has to be saved, the screen refreshed and then published.

Steps to reproduce

Create a document type with a block list in Single block mode (although the same happens for all block lists) and Allow at root selected
Create an item under content using this document type
Fill in all details including adding content to the block list
Click Save and Publish

Expected result / actual result

I would expect the content to be published, what actually happens is that the property name is still red with a exclamation mark icon, and a toast appears saying "Document was not published, but we saved it for you."

Copy link

Hi there @AdrianFleming!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@NguyenThuyLan
Copy link
Contributor

Thanks @AdrianFleming , I was able to reproduce it on 15.2.1. I think you set the amount for Block list like this:

Image
Umbraco.-.Google.Chrome.2025-02-13.11-06-03.mp4

@AdrianFleming
Copy link
Author

I had already set the range from 1 to 1; could you please confirm that this is in fact a bug rather than that setting the range is a workaround, and do you have an ETA?

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