-
Notifications
You must be signed in to change notification settings - Fork 75
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
config-api does not populate displayName if backend MySQL #1482
Comments
@yurem this issue seems to be because of difference in attribute name and object property name. Request you to please chk |
Hello @pujavs Sorry for the inconvenients, I have added a new feature for language metadata for client_name (displayName), logo_uri (jansLogoURI), client_uri (jansClntURI), policy_uri (jansPolicyURI), and tos_uri (jansTosURI). This feature is the reason of the issue reported here. There are more details at: #1057 |
@qbert2k, no worries, do i have have to make any change in config-api code to handle this? |
@yurem @qbert2k The values of LocalizedString needs to be returned in String format rather than object. Can we have new getter and setter to take and return value in String format directly in Client.java ? |
We have issue with indexes for According to output above we store them in next format:
It's possible to add indexes for such JSON values (except Spanner). But we need to use another definitions than for multi-values attributes now. |
From my point of view
ORM in this case should convert LocalizedString object from object to JSON and back automatically without additional code. Alternative idea is to store them as customAttribute. In this case it will be application responsibility to convert them to string/json |
Third option is to fix |
Link to original issue: #1057 |
@devrimyatar , this seem to have resolved, below is the test evidence from my-sql environment. |
Describe the bug
config-api does not populate displayName if backend MySQL
To Reproduce
displayName exists in customAttributes, but in swagger yaml we marked it required.
Here is MySQL Backend output
And here is OpenDJ backend output
The text was updated successfully, but these errors were encountered: