Skip to content

CSP application cannot be added to Git #308

Closed
@EnricoParisi

Description

@EnricoParisi

There is a problem with a CSP applications.

I was able to configure in settings a CSP application that use the path /csp/myapp, that worked.

I have another application /slg and I'm unable to add it to Git.
I created the mapping as "/CSP/" - "/slg" - "csp/slg/", then in Studio when I right click on the CSP folder in the Namespace Work Area, select Git -> Add:

`porting new version of .slg to E:\git\iris-prod

No mapping with a matching coverage found for file E:/git/iris-prod
No mapping with a matching path found for file E:/git/iris-prod`

I think the problem (bug) is in the NormalizeInternalName() method in SourceControl.Git.Utils class, the line 985:

if $extract(name) '= "/" {

should be:

if ($extract(name) '= "/") && (type'="csp") {

After that modification (fix) my /slg csp application can be added to Git.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcustomerBased on customer feedback (as opposed to something identified by developers)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions