chef 3745 Posted April 5, 2020 Share Posted April 5, 2020 (edited) @@Luke When comparing SessionUserId and User.Id we have removed "-" in one but not the other. Example: Session.UserId: 857023b406ec420fae510c0f7def9fb0 However requesting 'ApiClient.getUsers()' in the javascript returns: 857023b4-06ec-420f-ae51-0c0f7def9fb0 Couldn't figure out why comparing these wasn't working. this is why Edited April 5, 2020 by chef Link to comment Share on other sites More sharing options...
ebr 14910 Posted April 5, 2020 Share Posted April 5, 2020 I'm pretty sure that is still that way to maintain compatibility with EMC which is expecting GUIDs which must have the format with the dashes. Link to comment Share on other sites More sharing options...
chef 3745 Posted April 5, 2020 Author Share Posted April 5, 2020 Interesting. I'll make the appropriate replacements in the code. Link to comment Share on other sites More sharing options...
Luke 37050 Posted April 5, 2020 Share Posted April 5, 2020 I'm surprised they are different. Link to comment Share on other sites More sharing options...
chef 3745 Posted April 5, 2020 Author Share Posted April 5, 2020 In my plugin configuration I save them as GUID, is it possible that they are being serialized? Link to comment Share on other sites More sharing options...
Luke 37050 Posted April 5, 2020 Share Posted April 5, 2020 Yes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now