Skip to content

Commit

Permalink
Merge pull request #732 from intersystems/v0.10.x-fix-731
Browse files Browse the repository at this point in the history
Fix upgrade errors from v0.9.x to v0.10.x
  • Loading branch information
isc-tleavitt authored Feb 6, 2025
2 parents 1faf87e + 9859cb7 commit 621eaaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- #700: Fix a bug due to incompatible conventions between SemVer and OCI tags
- #669: Work with a wider variety of ORAS repos (removes _catalog call)
- #726: Fixed a bug where loading a tarball doesn't install dependencies from `.modules` subfolder even when it's available
- #731: Issue upgrading from v0.9.x due to refactor of repo classes

### Security
-
Expand Down
3 changes: 3 additions & 0 deletions src/cls/IPM/Repo/Http/Definition.cls
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Parameter MONIKER As String = "http";
/// Override this in subclasses to provide more padding.
Parameter MaxDisplayTabCount As INTEGER = 4;

/// Overridden to avoid upgrade issues because of the refactor from Remote.Definition -> Http.Definition
Parameter MANAGEDEXTENT = 0;

Property URL As %IPM.DataType.RepoLocation [ Required ];

Index URL On URL [ Unique ];
Expand Down
2 changes: 1 addition & 1 deletion src/cls/IPM/Utils/Migration.cls
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ ClassMethod RunAll(verbose As %Boolean = 1) As %Status
}
Try {
Set $Namespace = $Zstrip(ns,"<>WC")
Do ..MigrateReposFromIPM09(verbose) // Do this first; MigrateZPMToIPM will fail with <FRAMESTACK> otherwise.
Do ..MigrateZPMToIPM(verbose)
Do ..MigrateReposFromIPM09(verbose)
} Catch e {
Set sc = $$$ADDSC(sc, e.AsStatus())
}
Expand Down

0 comments on commit 621eaaf

Please sign in to comment.