-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-31159 ECL Watch v9 fix file rename issue #18250
HPCC-31159 ECL Watch v9 fix file rename issue #18250
Conversation
https://track.hpccsystems.com/browse/HPCC-31159 |
f8c77a4
to
70ce7b4
Compare
const getDfuWuRequests = []; | ||
|
||
if (logicalFiles?.length === 1) { | ||
const request = { ...data, srcname: logicalFiles[0], DFUServerQueue: "" }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is data.targetRenameFile
an array or a string here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was undefined. I don't recall why, but if there was one file the input was named dstname, and if there was a list, it used the targetRenameFile array. It only uses the targetRenameFile array now.
} else if (ID) { | ||
window.setTimeout(function () { window.open(`#/dfuworkunits/${ID}`); }, 0); | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if / else has different logic for error handling? Could be combined to a single flow with the exception of the window.open
and pushUrl
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rename logic and error handling looks different for the case when there is 1 v many renames?
70ce7b4
to
e49bed7
Compare
Signed-off-by: Jeremy Clements <[email protected]>
e49bed7
to
e888ca1
Compare
432b00b
into
hpcc-systems:candidate-9.2.x
Type of change:
Checklist:
Smoketest:
Testing: