File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
47
47
- Fixed issue with saving multiple new no-folder mapping settings at the same time (#533 )
48
48
- Fixed sending OS error when git pull encounters error (#545 )
49
49
- Fixed suppressing editing of locked classes (#301 )
50
+ - Fixed importing CSP files (#251 )
50
51
51
52
## [ 2.6.0] - 2024-10-07
52
53
Original file line number Diff line number Diff line change @@ -1412,8 +1412,8 @@ ClassMethod ImportCSPFile(InternalName As %String) As %Status
1412
1412
if (cspFile =srcFile )||($$$isWINDOWS&&($ZCVT (cspFile ," l" )=$ZCVT (srcFile ," l" ))) {
1413
1413
Quit $$$OK
1414
1414
}
1415
-
1416
- if '(##class (%File ).Delete ( cspFile ) && ##class ( %File ). CopyFile (srcFile , cspFile )) {
1415
+ // Delete original if exists, otherwise create new file
1416
+ if '(##class (%File ).CopyFile (srcFile , cspFile , 1 )) {
1417
1417
set sc = $$$ERROR($$$GeneralError, " Unable to import '" _srcFile _" '" )
1418
1418
}
1419
1419
You can’t perform that action at this time.
0 commit comments