You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you create a PKI template with Organisation, Organisation unit, State and Country, fields are saved in DB.
If you go back to your PKI template to enable SCEP setting and save. Then Organisation, Organisation unit, State and Country informations disappear when you switch to "General" tab.
If you close and get back to your template, you got same behavior. You need to refresh your web browser to get informations.
When I enabled SCEP setting on my PKI template, PATCH request sent by frontend doesn't contain Organisation, Organisation unit, State and Country fields.
However, the next API call to api/v1/pki/profiles contains this informations.
Has been noticed on PF 11.0.0, I was able to replicate on PF 11.1.0
To Reproduce
Steps to reproduce the behavior:
Create a CA
Create a PKI template with Organisation, Organisation unit, State and Country fields
Edit yout PKI template to enable SCEP setting
Save
Open your PKI template and check values of Organisation, Organisation unit, State and Country fields
=> They are blank.
Expected behavior
Frontend should display values of PKI templates in DB
Additional context
Organisation, Organisation unit, State and Country have never been updated in DB, only SCEP setting is updated.
If you go back to your PKI template to enable SCEP setting and save. Then Organisation, Organisation unit, State and Country informations disappear when you switch to "General" tab.
This is a red herring. These fields are cleared regardless of the SCEP setting.
The fields are cleared because the PATCH /api/v1/pki/profile/:id response doesn't return the organisation, organisational_unit, country, or state.
@fdurand is it possible to have these fields included in the PATCH response?
Describe the bug
When you create a PKI template with Organisation, Organisation unit, State and Country, fields are saved in DB.
If you go back to your PKI template to enable SCEP setting and save. Then Organisation, Organisation unit, State and Country informations disappear when you switch to "General" tab.
If you close and get back to your template, you got same behavior. You need to refresh your web browser to get informations.
When I enabled SCEP setting on my PKI template, PATCH request sent by frontend doesn't contain Organisation, Organisation unit, State and Country fields.
However, the next API call to
api/v1/pki/profiles
contains this informations.Has been noticed on PF 11.0.0, I was able to replicate on PF 11.1.0
To Reproduce
Steps to reproduce the behavior:
=> They are blank.
Expected behavior
Frontend should display values of PKI templates in DB
Additional context
Organisation, Organisation unit, State and Country have never been updated in DB, only SCEP setting is updated.
Certainly related to #6713
The text was updated successfully, but these errors were encountered: