gatsby-helper icon indicating copy to clipboard operation
gatsby-helper copied to clipboard

Unknown type Section_type_Entry from nodeChanges as they are outside the schema.

Open delasign opened this issue 2 years ago • 2 comments

Description

If you make changes to Entries that are outside of a schema, they still appear when sourcing changes (emailsToSubscribers_default_entry is not part of the private schema). image

This causes Gatsby-Source-Craft to fail. image

Steps to reproduce

  1. Install a new version of Craft
  2. Create Two Sections with 1 entry.
  3. Create GraphQL Schemas and tokens for each section - and only one section per schema and token.
  4. Make changes to each entry.
  5. Search using the two schemas on the GraphiQL using the query below.
query nodeChanges {  
    nodesUpdatedSince (since: "2023-08-17 15:15:00" site: ["default"]) { nodeId nodeType siteId}
    nodesDeletedSince (since: "2023-08-17 15:15:00") { nodeId nodeType siteId}
}

You will see that nodes that are outside of the schema appear.

This leads to a crash in the sourcing of the nodes of the Gatsby-source craft.

Additional info

  • Craft version: 4.4.17
  • PHP version: 8.0.28
  • Database driver & version: N/A
  • Plugins & versions:

Amazon S3 | 2.0.3 Gatsby Helper | 2.0.2 Redactor | 3.0.4 Remote Sync | 4.1.1 Field Manager | 3.0.7 Super Table | 3.0.9

delasign avatar Aug 18 '23 14:08 delasign

@i-just @brandonkelly It's still happening

delasign avatar Aug 18 '23 14:08 delasign

@i-just I really appreciate your previous effort to resolve the internal error but unfortunately entries outside of the schema still show up. Is there any news on this ?

delasign avatar Aug 28 '23 18:08 delasign