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 getting a specific version when using webroot url #1112

Open
alexanderbotero opened this issue Aug 24, 2020 · 1 comment
Open

Error getting a specific version when using webroot url #1112

alexanderbotero opened this issue Aug 24, 2020 · 1 comment

Comments

@alexanderbotero
Copy link

alexanderbotero commented Aug 24, 2020

Gentics Mesh Version.

  • v1.7

Operating System

  • Windows

JVM

  • Oracle JDK 11.0.8

Problem

according to the documentation versioning, adding the query parameter version follow by the version number [major].[minor], the specif version should be generated, when I used this format

/api/v2/{project}/nodes/{uuid}?version=[major].[minor]

it works without problems, but if I used this format

/api/v2/{project}/webroot/{slug}?version=[major].[minor]

it shows the next error message

{
"i18nParameters" : [ "{slug}" ],
"i18nKey" : "node_not_found_for_path",
"properties" : { },
"type" : "generic_error",
"message" : "Node for path {slug}" could not be found."
}

I used the draft and published values in order to check the behavior and both work using the webroot path

@Jotschi
Copy link
Contributor

Jotschi commented Aug 25, 2020

Thanks for the report. I was able to reproduce the issue.

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