Skip to content

Fix installer crash on particular environments with existing IPM code - #1210

Merged
isc-dchui merged 2 commits into
mainfrom
fix-1209
Jul 29, 2026
Merged

Fix installer crash on particular environments with existing IPM code#1210
isc-dchui merged 2 commits into
mainfrom
fix-1209

Conversation

@isc-dchui

Copy link
Copy Markdown
Collaborator

Description

Testing

Manually tested by running these steps:

  1. Install IPM
  2. Package snapshot
    a. zpm "package zpm -only -p /tmp/zpm-0.10.9"
    b. w ##class(IPM.Installer).MakeFile("/tmp/zpm-0.10.9.tgz","/tmp/zpm-0.10.9.xml")
  3. Break the existing IPM installation
    a. set m = ##class(%IPM.Storage.Module).NameOpen("zpm")
    b. do ##class(%IPM.Storage.Module).%DeleteId(m.%Id())
    c. do $system.OBJ.Delete("%IPM.Utils.Module","d")
  4. Reinstall IPM with do $system.OBJ.Load("/tmp/zpm-0.10.9.xml","ck")

(To reproduce the crash, replace step 4 with installing 0.10.8)

Checklist

  • This branch has the latest changes from the main branch rebased or merged.
  • Changelog entry added.
  • Unit (zpm test -only) and integration tests (zpm verify -only) pass.
  • Style matches the style guide in the contributing guide.
  • Documentation has been/will be updated
    • Source controlled docs, e.g. README.md, should be included in this PR and Wiki changes should be made after this PR is merged (add an extra issue for this if needed)
  • Pull request correctly renders in the "Preview" tab.

Comment thread preload/cls/IPM/Installer.cls
@isc-dchui
isc-dchui requested a review from isc-kiyer July 29, 2026 17:53
@isc-dchui
isc-dchui merged commit 7653859 into main Jul 29, 2026
18 of 22 checks passed
@isc-dchui
isc-dchui deleted the fix-1209 branch July 29, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installing IPM with older version of IPM on the system may result in crash

2 participants