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

BlockList Min/Max Required Range Validation Prevents Saving Even When Conditions Met #17206

Open
nackler opened this issue Oct 7, 2024 · 4 comments
Labels

Comments

@nackler
Copy link

nackler commented Oct 7, 2024

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

14.3.0

Bug summary

I believe this started with 14.3 and didn't happen with 14.2.

I built a page that displays three products.
To facilitate this, the page contains a property of type 'block-list' which is set up to require three items.

As a content editor, as I'm adding items to the block-list, the validation appears to fire, though the validation message is strange looking.
However, when I've added all the items required by the validation, I am still unable to publish the page. No validation messages appear, but neither does the 'page published' message. The publish button spins for a moment then stops its work. There are no messages in the console or network tabs of my browser dev-tools

Specifics

image

image

image

Steps to reproduce

Create a page with a block list property that has a min and max required block count set to 3.
Try to publish an instance of that page in the content tree. You will be unable to publish the page even if the block list has three items.

Expected result / actual result

We should be able to set min/max required block counts on block lists.

Copy link

github-actions bot commented Oct 7, 2024

Hi there @nackler!

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 🤖 🙂

@too-dark-park
Copy link

I can confirm I am also seeing this error. This issue started after we upgraded from version 14.2 to 14.3. I contacted their support team via Umbraco Cloud. Neal and Dennis picked this up and confirmed they are able to replicate and have advised me they've passed it onto their CMS team.

@redsquare
Copy link

This is impacting me on the cloud too.

@jbppraxis
Copy link

We observe the same behavior. We have an amount ranging from 0 to 1, and if you exceed this range, you receive a validation error that won't resolve, even after correcting the issue. Only amending the error, saving, and refreshing the page seems to help.

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

No branches or pull requests

4 participants