Closed jgoelten closed 3 weeks ago
This has been fixed in the latest beta version and will be released in the next stable version
@ni507 I have switched to the beta branch to verify the latest release. It seems not to be working on my side. As expected the error message does not appear anymore when overwriting an existing file but the overridden file is not actually replaced. The file content and timestamp remains old.
I would like to provide you with additional logs. Where does Kreya store application logs?
@ni507 My previous answer is not correct. Overwriting an existing file works as expected 👍. I have not created a new request and thus, the previous response has been written to the filesystem (as expected). After re-executing the requests, the response has been successfully updated including its timestamp.
Kreya 1.15 has just been released, which fixes this bug.
Describe the bug If a response is saved twice in a row with the same file path, an error occurs if an attempt is made to overwrite the existing file.
To Reproduce Steps to reproduce the behavior:
Response
from an executed requestexport.zip
export.zip already exists. Do you want to repalce it?
withYes
Expected behavior The existing file should be overwritten after confirmation.
Environment