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

Multinode Treepicker does not show clear error when content doesn't exist (anymore) #17590

Open
sergiutesu opened this issue Nov 20, 2024 · 1 comment
Labels

Comments

@sergiutesu
Copy link

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

I have tested this on Cms 10.8.7 Forms 10.5.7 Deploy 10.4.0

Bug summary

If you have a Multinode Tree picker with a Node Type + Allowed items of type it will be completely empty locally when you clone down a Cloud Project.

This is intended as that content doesn't exist locally and therefore you cannot fetch it and show it.
The moment you restore the content you'll be able to see everything as normal.

However, the error message is not great and doesn't point to the fact that you're missing the content.
image

Specifics

No response

Steps to reproduce

  1. Create a new v10 project on latest Cms 10.8.7 Forms 10.5.7 Deploy 10.4.0 on Umbraco Cloud

  2. Create a document type and set it as root - call it Homenode

  3. Create a child for the previous document type and add a Multinude Treepicker selecting the Homenode

  4. Allow items of type Homenode
    image

  5. Clone down the project

  6. Navigate to the Data type created for this child document type

  7. You'll get an error and your Homenode + Allowed items of types will not be there.

Expected result / actual result

That you'll get a message saying the content is not there, please restore it.

@ronaldbarendse ronaldbarendse changed the title Multinode Treepicker is empty when clonning down a Cloud project locally Multinode Treepicker does not show clear error when content doesn't exist (anymore) Nov 20, 2024
@ronaldbarendse
Copy link
Contributor

This might be a more general issue (not specific to Cloud/Deploy), as I do see content pickers referencing content that's in the recycle bin as trashed:

image

But after emptying the recycle bin, the editor doesn't show anything: not even UI to clear the current value or pick another content item!

In the case of the data type configuration workspace, it seems like the error causes further execution to halt, as the 'Allow items of type' isn't populated anymore either...

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

2 participants