Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP application cannot be added to Git #308

Closed
EnricoParisi opened this issue Dec 28, 2023 · 2 comments · Fixed by #321
Closed

CSP application cannot be added to Git #308

EnricoParisi opened this issue Dec 28, 2023 · 2 comments · Fixed by #321
Assignees
Labels
bug Something isn't working customer Based on customer feedback (as opposed to something identified by developers)

Comments

@EnricoParisi
Copy link

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.

@isc-tleavitt isc-tleavitt added bug Something isn't working customer Based on customer feedback (as opposed to something identified by developers) labels Jan 4, 2024
@isc-tleavitt isc-tleavitt added this to the Q1 2024 Polishing milestone Jan 4, 2024
@isc-tleavitt
Copy link
Collaborator

@EnricoParisi thank you for bringing this up. I think you're right on the solution. @isc-vgao, I've added it to your milestone.

@isc-tleavitt
Copy link
Collaborator

Note this might be the same as #251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer Based on customer feedback (as opposed to something identified by developers)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants