Skip to content

Commit d7e6e2f

Browse files
committed
fix: temp load to check if production no longer errors out if internal name is null
1 parent 66c6936 commit d7e6e2f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Deletes are now properly owned by the user who did the delete (#729)
1515
- Pull page output now displays better when pull preview shows a lot of changes (#740)
1616
- Fixed loop of loading classes with compilation errors in Studio (#766)
17+
- Fixed error popup when creating new record map or other interop items (#753)
1718

1819
## [2.11.0] - 2025-04-23
1920

cls/SourceControl/Git/Production.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ ClassMethod IsProductionClass(className As %String, nameMethod As %String) As %B
384384
// compilable or not have been intended for import yet). Then check for Production Definition
385385
// XData. Approach taken from CvtXmlToClientDoc method in %Api.Atelier.v1
386386
set filename = $classmethod(##class(%Studio.SourceControl.Interface).SourceControlClassGet(), nameMethod, className_".CLS")
387-
if ##class(%File).Exists(filename) && (##class(%File).GetFileSize(filename) '= 0) {
387+
if ##class(%File).Exists(filename) && '##class(%File).DirectoryExists(filename) && (##class(%File).GetFileSize(filename) '= 0) {
388388
try {
389389
set ^||%oddDEF=1
390390
$$$ThrowOnError($system.OBJ.Load(filename, "-d"))

0 commit comments

Comments
 (0)