ipm icon indicating copy to clipboard operation
ipm copied to clipboard

filecopy deletes file from my repo

Open evshvarov opened this issue 2 months ago • 2 comments

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

evshvarov avatar Oct 13 '25 07:10 evshvarov

@evshvarov I'm trying to reproduce this issue and I'd like a little more information. What version of IPM are you using and is this on Windows or Unix/Linux? Also, when you say it deletes favicon.ico, do you mean it deletes it from the source directory?

(Generally I'd expect this kind of failure to be file/directory permissions related, but it definitely shouldn't be deleting files from the source directory)

isc-dchui avatar Oct 14 '25 14:10 isc-dchui

yes. this was with 10.3 ipm on Ubuntu (docker)

it deletes, yes.

evshvarov avatar Oct 16 '25 05:10 evshvarov