Skip to content

[Bug]: Editing SOME Subgraph inputs from the inside breaks the subgraph #4215

Open
@mofoni

Description

@mofoni

Custom Node Testing

Frontend Version

1.22.0-sub.7

Expected Behavior

any kind if editing on the subgraph widgets (deleting, creating, renaming, keeping some and changing the rest) should work, with every input transmitting the datatype thats shown in the UI.

Actual Behavior

Changing the inputs inside a subgraph while keeping some of them breaks those that have stayed.
Deleting all inputs and recreating them seems to work.

Steps to Reproduce

Example (from attached Workflow Variant A)

Steps:

  1. Make a subgraph
  2. inside: remove all slots except model starting from the top
  3. add slots in order
  4. rename slots "text" and "text_1" to "pos" and "neg"
  5. connect outside
  6. run output node
ERROR:

Prompt execution failed
Prompt outputs failed validation:
KSampler:
- Return type mismatch between linked nodes: model, received_type(LATENT) mismatch input_type(MODEL)

Image

JSON: Example.json

Debug Logs

got prompt
Failed to validate prompt for output 65:
* KSampler 73:70:
  - Return type mismatch between linked nodes: model, received_type(LATENT) mismatch input_type(MODEL)
Output will be ignored
invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

Browser Logs

Browser log when running only the Image Preview node from Variant A:

Image

Setting JSON

no JSON, completely fresh install.

What browsers do you use to access the UI ?

Brave

Other Information

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions