intersystems / intersystems/git-source-control

Not handling Project Text Documents that are not production/host settings.

Open
#965 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
ObjectScript
Stars
22
Forks
14
Avg merge
1d 9h
Merged PRs (30d)
5

Description

PTD - Ens.Util.ProjectTextDocuments are for arbitrary text storage. Encountering an error when adding a PTD to source control that is not used for production or host item settings:

Create a PTD:

set sc=##class(Ens.Util.ProjectTextDocument).Create("Some text","INV.Instruction.One","Descriptive text")

In VS Code open INV.Instruction.One.PTD and select Add from the SC menu:

exporting new version of INV.Instruction.One.PTD to /xyz/repo/ptd/INV_Instruction_One/.xml
ERROR #5002: ObjectScript error: ExportPTD+3^SourceControl.Git.Production.1 *itemName [ExportPTD+3^SourceControl.Git.Production.1:GITBLD]

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.