intersystems / intersystems/git-source-control
MapEverywhere() misses %zpkg package
- Lingua principale
- ObjectScript
- Stelle
- 22
- Fork
- 14
- Merge medio
- 1g 9h
- PR unite (30g)
- 5
Descrizione
I ran `##class(SourceControl.Git.API).MapEverywhere()` to make the module available in all the namespaces in my instance. When I went to edit an interop production, I received this exception popup:

I went back to my terminal session to dump the session variables and noticed this:
```ObjectScript
%objlasterror="0 S¥ PackageSourceControl.Git%ALL$%SYS(e^Exists+5^Config.CommonMapMethods.1^
2+e^ClassMapping+4^
%Installer.Installer.1^1Dd^
RunMapEverywhere+26^|"ENSGLOBAL"|SourceControl.Git.Installer.1^1@e^
MapEverywhere+8^|"ENSGLOBAL"|SourceControl.Git.Installer.1^1:e^
MapEverywhere+1^|"ENSGLOBAL"|SourceControl.Git.API.1^1e^^^0"
```
While this method did map the `SourceControl.*` package to my other namespaces, maybe it also needs to map `%zpkg.isc.*`?
```
$zv: IRIS for Windows (x86-64) 2023.1.5 (Build 697U) Thu Oct 3 2024 13:47:51 EDT
```
---
Additionally, the `MapEverywhere()` definitions should really be annotated with `As %Status`. It is inconsistent that they don't have this.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.