Skip to content

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

@isc-mackeith

Description

@isc-mackeith

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions