AEM Version 6.5.17.0
Step 1:
Run the query with graphiql page, can get the correct result.
http://localhost:4502/content/graphiql.html
Step 2:
Run the persist.
I can get the expected results when after the persisted query, but wait a while, will get not expected results when executing persisted query. with no expected results response, the response with following:
then, i found the store query content auto changed.
wrong query:
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
description
locations
args {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
description
type { ...TypeRef }
defaultValue
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Did this start after you upgraded to SP 17?, If so, can you check what is mentioned in the "Known Issues" section from the SP17 release notes? https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/release-notes.html?lang=...
before I used SP16 and also have this issue, so try to update to the latest version, but still exist the same issue.
from Known issues and not found this bug.
when we use the following URL and always can get the response:
http://localhost:4502/content/graphiql.html
in order to have good performance and we will persist the query and use the get method to execute persisted query
now the problem is when we execute the persisted query, sometimes we get the wrong response and find the query is auto-changed. the query will be changed to the above wrong query.
Views
Likes
Replies
Views
Likes
Replies