Jump to content

Found an API Inconsistency


chef

Recommended Posts

chef

@@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 by chef
Link to comment
Share on other sites

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

chef

Interesting.

 

I'll make the appropriate replacements in the code.

Link to comment
Share on other sites

chef

In my plugin configuration I save them as GUID, is it possible that they are being serialized?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...