Workflow file upload based on log history, execute test error according to this parameter
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 22h 9m
- Merged PRs (30d)
- 610
Description
### Self Checks
- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- [x] Please do not modify this template :) and fill in all the required fields.
### Dify version
1.15.0
### Cloud or Self Hosted
Self Hosted (Docker)
### Steps to reproduce
# Workflow file upload based on log history, execute test error according to this parameter
### ✔️ Expected Behavior
The workflow can be executed normally from the log history.
### ❌ Actual Behavior
Console error Uncaught TypeError: Cannot use 'in' operator to search for 'transfer_method' in {"dify_model_identity":"__dify__file__","id":null,"type":"custom","transfer_method":"local_file","remote_url":"","reference":"dify-file-ref:eyJyZWNvcmRfaWQiOiI1YmVkMTA0Yi0yMDNjLTRlNTQtOWU2OS1hYTZjNjA4MmMzZGEifQ==","filename":"sql_result.zip","extension":".zip","mime_type":"application/zip","size":1204,"related_id":"5bed104b-203c-4e54-9e69-aa6c6082c3da","url":"http://192.168.0.9/files/5bed104b-203c-4e54-9e69-aa6c6082c3da/file-preview?timestamp=1789029188&nonce=9a2a94ab5c17a56b16c5eb7316e81ba2&sign=IGWVzdFOu5qgNSza1GND-7A98hAByxMNrS5KDPyjSnA%3D"}
at 3l5x3j956s7v8.js:1:490
at Array.forEach ()
at e.s.e.replace.i (3l5x3j956s7v8.js:1:329)
at 3l5x3j956s7v8.js:1:18773
at 03ma6656jlwcb.js:1:17227
at onClick (03ma6656jlwcb.js:1:24766)
at 03ma6656jlwcb.js:1:17227
at sZ (3teanbt4ahlrq.js:1:155742)
at 3teanbt4ahlrq.js:1:161638
at nM (3teanbt4ahlrq.js:1:23672)
(匿名) @ 3l5x3j956s7v8.js:1
e.s.e.replace.i @ 3l5x3j956s7v8.js:1
(匿名) @ 3l5x3j956s7v8.js:1
(匿名) @ 03ma6656jlwcb.js:1
onClick @ 03ma6656jlwcb.js:1
(匿名) @ 03ma6656jlwcb.js:1
sZ @ 3teanbt4ahlrq.js:1
(匿名) @ 3teanbt4ahlrq.js:1
nM @ 3teanbt4ahlrq.js:1
s4 @ 3teanbt4ahlrq.js:1
fL @ 3teanbt4ahlrq.js:1
fT @ 3teanbt4ahlrq.js:1
VM1356:2 Uncaught TypeError: Cannot read properties of undefined (reading 'startTime')
at et.reportAllChanges (:2:19429)
at :2:13070
at :2:331
at d (:2:6141)
at :2:6326
at :2:2895
at n.timeout (:2:5652)
Contributor guide
Research direction
Reproduce the failure by opening a workflow from log history and executing the test with the uploaded sql_result.zip parameter. Start with the browser console error involving transfer_method and the subsequent startTime error, then trace the workflow log-history upload handling. Done means the workflow executes normally from log history without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100