Skip to content

Commit 1734f6b

Browse files
authored
Merge pull request #854 from intersystems/fix-install-no-autocompile
Compile CSP pages for Git UIs after installation
2 parents 777faba + 0a093b7 commit 1734f6b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111
- Fixed Import All deploying changes to files in a CSP application (#828)
1212
- Fixed pull failure when deleted items have no internal or external name (#848)
13+
- Fixed an error where source control pages do not display after installing on IRIS 2025.1 (#852)
1314

1415
## [2.13.0] - 2025-08-20
1516

cls/SourceControl/Git/Utils.cls

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2798,6 +2798,14 @@ ClassMethod ConfigureWeb()
27982798
if $$$ISERR(st) do $System.Status.DisplayError(st)
27992799
}
28002800

2801+
ClassMethod CompileGitUIs()
2802+
{
2803+
new $namespace
2804+
set $namespace = "%SYS"
2805+
set st = ##class(%SYSTEM.CSP).LoadPageDir("/isc/studio/usertemplates/gitsourcecontrol/")
2806+
if $$$ISERR(st) do $System.Status.DisplayError(st)
2807+
}
2808+
28012809
ClassMethod CheckInitialization()
28022810
{
28032811
if ##class(SourceControl.Git.Utils).GitBinExists(.version) {
@@ -3311,4 +3319,3 @@ ClassMethod IsSchemaStandard(pName As %String = "") As %Boolean [ Internal ]
33113319
}
33123320

33133321
}
3314-

module.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<FileCopy Name="csp/sync.csp" Target="${mgrDir}../devuser/studio/templates/gitsourcecontrol/sync.csp" />
3131
<FileCopy Name="git-webui/release/share/git-webui/webui/" Target="${mgrDir}../devuser/studio/templates/gitsourcecontrol/" Overlay="1" />
3232

33+
<Invoke Class="SourceControl.Git.Utils" Method="CompileGitUIs" />
3334
<Invoke Class="SourceControl.Git.Utils" Method="OutputConfigureMessage" />
3435
<Invoke Class="SourceControl.Git.Utils" Method="Localize" />
3536
<Invoke Class="SourceControl.Git.Utils" Method="ConfigureWeb" />

0 commit comments

Comments
 (0)