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

[CoE Starter Kit - BUG] SYNC HELPER - Get Security Role Users - Users with ' in their name break the flow #7884

Closed
1 task done
robertobudelo-armacell opened this issue Mar 19, 2024 · 5 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@robertobudelo-armacell
Copy link

robertobudelo-armacell commented Mar 19, 2024

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

User having a ' in their display name break Odata syntax:

image

Expected Behavior

' is being escaped

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.24

What app or flow are you having the issue with?

SYNC HELPER - Get Security Role Users

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response

AB#2608

@robertobudelo-armacell robertobudelo-armacell added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Mar 19, 2024
@Jenefer-Monroe
Copy link
Collaborator

Thank you I'll try to get you something to test here in time for the April release.

@Jenefer-Monroe Jenefer-Monroe self-assigned this Mar 19, 2024
@Jenefer-Monroe
Copy link
Collaborator

I think the fix is to put this: replace(item()?['admin_name'], '''', '''''')

Here
image

Can you please test for me?

@robertobudelo-armacell
Copy link
Author

robertobudelo-armacell commented Mar 19, 2024 via email

@Jenefer-Monroe
Copy link
Collaborator

I moved the change up to the Select Name outside of the apply to each so that we wouldnt have to do it multiple times. But let me test a little to see if that works ok.

@Jenefer-Monroe
Copy link
Collaborator

From my quick testing that does seem to address the issue. And we arent writing this name out so I think this works.
Can you plesae put it here and let me know?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Status: Done
Development

No branches or pull requests

3 participants