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

Variable $ancestorOrSelf not working on unpublished pages #79

Closed
ventea opened this issue Jan 17, 2017 · 2 comments
Closed

Variable $ancestorOrSelf not working on unpublished pages #79

ventea opened this issue Jan 17, 2017 · 2 comments

Comments

@ventea
Copy link

ventea commented Jan 17, 2017

When specifying language node in the Language Nodes XPath field I have been using the variable $ancestorOrSelf to find the startpage of the site. This works fine when first creating a page, but when choosing to just save the page, not publish, the languages disappear from my properties. If I choose to publish the page the languages are displayed again.

This is my xpath:
$ancestorOrSelf/ancestor-or-self::StartPage

I'm using Vorto 1.5.3 and Umbraco 7.5.7.

@lssweatherhead
Copy link
Contributor

I am also seeing this issue (Umbraco v7.7.2 and Vorto 1.5.3) using the $ancestorOrSelf path to signpost languages in use.

Furthermore to the behaviour descried by @ventea, if a user tries to publish a node but has other erroring mandatory fields (specifically missing mandatory RJP links) which saves the node but prevents publish, the installed languages never re-load.

This behaviour means that in some cases - where vorto fields are mandatory - it is completely impossible to carry on using the unpublished node at all as it can never meet the required input in order to be published.

Is there a suggested work-around for this? I would rather not remove all mandatory flags, if possible :)

@mattbrailsford
Copy link
Collaborator

PR merged in

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

No branches or pull requests

3 participants