intersystems / intersystems/ipm

Support install of resources marked as deploy when in reality they are not

Open
#1,125 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
ObjectScript
Stars
41
Forks
29
Avg merge
23h 54m
Merged PRs (30d)
4

Description

Ran into an issue when having a `.INC` resource in a dependency module marked as `Deploy="true"`. Another class that requires that include file failed to load with the error `No include file 'Example.INC'`. This is because in packaging the `.INC` file doesn't get added to the studio document but being marked as deploy does try to load it from there.

The short-term fix was to remove the `Deploy="true"` from the include file, as include files shouldn't be deployed at all.

To address this long term, we need a way for generally supporting install of resources if they were marked as deploy but packaged as source. In this case we want to load it from source instead of trying from the deployed .xml file which ultimately ignores it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.