Skip to content
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

Deleting deleted files on Import All fails #524

Closed
isc-etamarch opened this issue Oct 7, 2024 · 2 comments · Fixed by #576
Closed

Deleting deleted files on Import All fails #524

isc-etamarch opened this issue Oct 7, 2024 · 2 comments · Fixed by #576
Assignees
Labels
bug Something isn't working

Comments

@isc-etamarch
Copy link
Collaborator

When running import all, run into an error that a file that has already been deleted (before the import) has failed to be deleted. This occurs on both the Management Portal and VSCode extension.

Error:

ERROR #5019: Cannot delete file '/data/db/mgr/repo/ETAMARCH/testfile.xml' [e^Delete+16^%CSP.Routine.1^2 e^DeletePage+3^%SYSTEM.CSP.1^1 e^DeleteFile+12^SourceControl.Git.PullEventHandler.IncrementalLoad.1^1 e^OnPull+8^SourceControl.Git.PullEventHandler.IncrementalLoad.1^1 e^OnPull+4^SourceControl.Git.PullEventHandler.Default.1^1 e^ForModifications+4^SourceControl.Git.PullEventHandler.1^1 e^ImportRoutines+50^SourceControl.Git.Utils.1^1 e^ImportAll+1^SourceControl.Git.Utils.1^1 e^UserAction+41^SourceControl.Git.Utils.1^1 e^UserAction+39^SourceControl.Git.Extension.1^1 e^UserAction+13^%Studio.SourceControl.Interface.1^1 e^UserActionExecute+11^%Atelier.v1.Utils.Extension.1^1 e^UserActionFunc+2^%Atelier.v1.Utils.Extension.1^1 e^%0AmBm2l1t+1^%sqlcq.ETAMARCH.cls15.1^1 d^%0AmBk1^%sqlcq.ETAMARCH.cls15.1^1 d^%Next+5^%sqlcq.ETAMARCH.cls15.1^1 e^AppendResultSet+35^%Api.Atelier.v6.1^1 e^Query+46^%Api.Atelier.v6.1^1 e^DispatchRequest+23^%CSP.REST.1^1 e^Page+26^%CSP.REST.1^1 e^zPage+2^%Atelier.REST.1^1 e^CSPDispatch+503^%SYS.cspServer^2 d^CSPDispatch+280^%SYS.cspServer^1 d^ProcessRequest+1^%CSP.Session.1^1 d^Request+683^%SYS.cspServer2^1 d^Request+25^%SYS.cspServer2^1 d^ProcessRequest+1^%CSP.Request.1^1 d^css+21^%SYS.cspServer2^1 d^Server+64^%SYS.SERVER^2 d^^^0:ETAMARCH]
WARNING: Deletion of /data/db/mgr/repo/ETAMARCH/testfile.xml failed.

@isc-etamarch isc-etamarch added the bug Something isn't working label Oct 7, 2024
@isc-tleavitt isc-tleavitt self-assigned this Oct 7, 2024
@isc-tleavitt
Copy link
Collaborator

Some of the issues we saw were related to the web application editing mode introduced in 2.5.0

@isc-tleavitt isc-tleavitt added this to the Q3/Q4 2024 Targets milestone Oct 7, 2024
@isc-tleavitt
Copy link
Collaborator

The solution here is, in general, to not indicate an error if a file would be deleted but doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants