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

unable to add/replace oraganisation configuraion #1773

Closed
manojs1978 opened this issue Jul 12, 2022 · 2 comments · Fixed by #2429
Closed

unable to add/replace oraganisation configuraion #1773

manojs1978 opened this issue Jul 12, 2022 · 2 comments · Fixed by #2429
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@manojs1978
Copy link
Contributor

Describe the bug
unable to add/replace oraganisation configuraion

To Reproduce
Steps to reproduce the behavior:

  1. open jans-cli
    select 13 for organisation configuration
    select 2 to Partially modifies organization configuration.
    select add operation and add name and value of property
    or select replace to property value.

Expected behavior
shoul able to replace oraganisation configuraion
added configuration should reflect in org configuration

Screenshots
image
image

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser [e.g. chrome, safari]
  • Version 20
    Smartphone (please complete the following information):

Additional context

@moabu moabu added this to the 1.0.2 milestone Jul 14, 2022
@manojs1978 manojs1978 added the kind-bug Issue or PR is a bug in existing functionality label Jul 14, 2022
@moabu moabu modified the milestones: 1.0.2, 1.0.3 Aug 30, 2022
@devrimyatar
Copy link
Contributor

@pujavs jans-config-api can't update those properties having value null, other properties can be updated for example:
description, shortName Please check

@devrimyatar
Copy link
Contributor

@manojs1978 For patch operations,

  1. If current value is null we have to use add instead of replace
  2. In fix 815b5fb, multivalued properties are evaluated as list so that you can provide multiple values by seperating _,. Example:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants