Skip to content

MapEverywhere() misses %zpkg package #772

Open
@cambot

Description

@cambot

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:

Image

I went back to my terminal session to dump the session variables and noticed this:

%objlasterror="0 S��¥   Package�SourceControl.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.*?


Additionally, the MapEverywhere() definitions should really be annotated with As %Status. It is inconsistent that they don't have this.

$zv: IRIS for Windows (x86-64) 2023.1.5 (Build 697U) Thu Oct 3 2024 13:47:51 EDT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions