rawLink=True breaks lists of values. Bug?
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Expected Behavior
The same behavior as with rawLink=False?
### Actual Behavior
If a list of images is provided as input and the input parameter rawLink is set to True, then the output will be only the first image from the list.
### Steps to Reproduce
workflow:
[rawLink.json](https://github.com/user-attachments/files/18233632/rawLink.json)

test node:
```python
from comfy_execution.graph_utils import GraphBuilder
class rawlinkTrue_test:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"image": ("IMAGE", {'rawLink': True}),
},
}
RETURN_TYPES = ("IMAGE",)
FUNCTION = "test"
CATEGORY = "Example"
def test(self, image):
graph = GraphBuilder()
return {
"result": (image,),
"expand": graph.finalize(),
}
class rawlinkFalse_test:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"image": ("IMAGE", {'rawLink': False}),
},
}
RETURN_TYPES = ("IMAGE",)
FUNCTION = "test"
CATEGORY = "Example"
def test(self, image):
graph = GraphBuilder()
return {
"result": (image,),
"expand": graph.finalize(),
}
NODE_CLASS_MAPPINGS = {
"rawlinkTrue_test": rawlinkTrue_test,
"rawlinkFalse_test": rawlinkFalse_test,
}
```
### Debug Logs
```powershell
Adding extra search path checkpoints V:/auto1111-webui/models/Stable-diffusion
Adding extra search path configs V:/auto1111-webui/models/Stable-diffusion
Adding extra search path vae V:/auto1111-webui/models/VAE
Adding extra search path loras V:/auto1111-webui/models/Lora
Adding extra search path loras V:/auto1111-webui/models/LyCORIS
Adding extra search path upscale_models V:/auto1111-webui/models/ESRGAN
Adding extra search path upscale_models V:/auto1111-webui/models/RealESRGAN
Adding extra search path upscale_models V:/auto1111-webui/models/SwinIR
Adding extra search path embeddings V:/auto1111-webui/models/embeddings
Adding extra search path hypernetworks V:/auto1111-webui/models/hypernetworks
Adding extra search path controlnet V:/auto1111-webui/models/ControlNet
Total VRAM 16376 MB, total RAM 130998 MB
pytorch version: 2.5.1+cu124
xformers version: 0.0.28.post3
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using sage attention
Setting temp directory to: a:\comfyui-temp\temp
[Prompt Server] web root: V:\comfyu_py311\ComfyUI\web
V:\comfyu_py311\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
@torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
### Loading: ComfyUI-Impact-Pack (V8.1.5)
[WARN] ComfyUI-Impact-Pack: `ComfyUI` or `ComfyUI-Manager` is an outdated version.
Import times for custom nodes:
0.0 seconds: V:\comfyu_py311\ComfyUI\custom_nodes\rawlink_test.py
0.1 seconds: V:\comfyu_py311\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
Starting server
To see the GUI go to: http://127.0.0.1:8188
[Impact Pack] Wildcards loading done.
got prompt
Prompt executed in 0.35 seconds
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.