Skip to content

isc-rest cannot be imported as a StudioProject #23

@ghost

Description

After packaging my appmodule as a StudioProject, I am unable to load the project because of what happens below.

HSLIB>d ##class(%Studio.Project).InstallFromFile("/Users/mfortuna/Instances/HS/PM/dpt.xml")

ERROR #5002: ObjectScript error: <THROW>Install5+1^INSTALL *%Exception.StatusException ERROR #5540: SQLCODE: -30 Message:  Table '%PKG_ISC_REST.ACTIONMAP' not found compiling embedded cached query from %pkg.isc.rest.model.action.projection.CLS
  > ERROR #5091: An error has occurred while removing projection %pkg.isc.rest.authorization.permission:Actions.
    > ERROR #5030: An error occurred while compiling class '%pkg.isc.rest.authorization.permission'
HSLIB>zw %objlasterror
%objlasterror="0 "_$lb($lb(5002,"<THROW>Install5+1^INSTALL *%Exception.StatusException ERROR #5540: SQLCODE: -30 Message:  Table '%PKG_ISC_REST.ACTIONMAP' not found compiling embedded cached query from %pkg.isc.rest.model.action.projection.CLS"_$c(13,10)_"  > ERROR #5091: An error has occurred while removing projection %pkg.isc.rest.authorization.permission:Actions."_$c(13,10)_"    > ERROR #5030: An error occurred while compiling class '%pkg.isc.rest.authorization.permission'",,,,,,,,$lb(,"HSLIB",$lb("D^Install5+1^INSTALL +2","D^MAIN+10^INSTALL +1","D^+1^INSTALL +1","$^zinternalInstall+149^%Studio.Project.1 +4","$^zInstallFromGbl+25^%Studio.Project.1 +1","D^zInstallFromFile+4^%Studio.Project.1 +1","X^@ +1"))))/* ERROR #5002: ObjectScript error: <THROW>Install5+1^INSTALL *%Exception.StatusException ERROR #5540: SQLCODE: -30 Message:  Table '%PKG_ISC_REST.ACTIONMAP' not found compiling embedded cached query from %pkg.isc.rest.model.action.projection.CLS-   > ERROR #5091: An error has occurred while removing projection %pkg.isc.rest.authorization.permission:Actions.-     > ERROR #5030: An error occurred while compiling class '%pkg.isc.rest.authorization.permission' */

Version

  • Core Tech: "IRIS for UNIX (Apple Mac OS X for x86-64) 2022.1.2 (Build 574_0_22407U) Wed Apr 5 2023 11:15:48 ED
  • isc-rest: "v1.3.1"

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