Closed Musealali closed 1 year ago
We have a version 2.14.4 in development, which should fix this. @thejokerd3 please reach out if you want to verify the fix for this.
The update has been rolled out, so we consider this fixed unless @thejokerd3 reports back and is able to reprodue the issue.
Issue description
Describe the issue
When you have culture variance enabled and you create a Parent node and child nodes -> if you dont publish the parent node on both languages - It will corrupt ALL child nodes making them unaccessible.
In the beneath screenshot you can see the node in french being unpublished -> this is the reason for the error.
The beneath screenshot is the error when trying to access one of the items in the listview -> no constructive message is being returned.
The next sceenshot shows the error from the logviewer:
It seems like this issue stems from this DLL: Umbraco.Cloud.Headless.Backoffice.dll: 2.12.0.0
The code within the DLL cant process when a parent node is not published when culture variance is enabled because the parent node when not published doesn't contain a URL -> and the DLL expects a URL hence the error message:
System.ArgumentException: Value cannot be null or whitespace. Parameter name: text at Umbraco.Web.Routing.UrlInfo..ctor(String text, Boolean isUrl, String culture)
I have tested this one out on my own project: https://www.s1.umbraco.io/project/hc-muslim-test
Specifics versions
Is it possible to Reproduce?
Then describe the steps below
Solution
Workaround would be to save and publish the parent node in both languages
Expected behavior
Not sure if this is intended but either way we should get a much better error message. And also it should not result in ALL child nodes being corrupted (both in english and french)
Let me know if anything - PS -> Muslim Umbraco Swat.