Skip to content

filecopy deletes file from my repo #934

@evshvarov

Description

@evshvarov

part of the module.xml:

<FileCopy Name="dist/" Target="${cspdir}loan/"/>
      <WebApplication 
  Name="/loan"
  NameSpace="{$namespace}"
  Path="${cspdir}loan"
  Recurse="1"
  ServeFiles="1"
  CookiePath="${cspdir}loan"
  UseCookies="2"
/>

this produces the following for load command with -v:
Loading demo-loan-frontend in process 675
[USER|demo-loan-frontend] Reload START (/home/irisowner/dev/)
Skipping preload - directory does not exist.
[USER|demo-loan-frontend] Reload SUCCESS
[demo-loan-frontend] Module object refreshed.
[USER|demo-loan-frontend] Validate START
[USER|demo-loan-frontend] Validate SUCCESS
[USER|demo-loan-frontend] Compile START
[USER|demo-loan-frontend] Compile SUCCESS
[USER|demo-loan-frontend] Activate START
Copying /home/irisowner/dev/dist/ to /usr/irissys/csp/loan/ as directory
[demo-loan-frontend] Activate FAILURE
ERROR! Error copying directory /home/irisowner/dev/dist/ to /usr/irissys/csp/loan/

ERROR #5024: Unable to copy file '/home/irisowner/dev/dist/favicon.ico' to '/usr/irissys/csp/loan/favicon.ico'
USER>

and...
it deletes favicon.ico from my disk.

If run again - deletes another file it couldn't copy

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions