[OPENDJ-7277] dsconfig exits when trying to view wrong access control handler config Created: 12/Jun/20  Updated: 12/Jun/20  Resolved: 12/Jun/20

Status: Done
Project: OpenDJ
Component/s: None
Affects Version/s: 7.0.0
Fix Version/s: Not applicable

Type: Bug Priority: Major
Reporter: Mark Craig Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates OPENDJ-6149 The Global Access Control Policy opti... Dev backlog
Epic Link: Bugs 7.0
Story Points: 0
Dev Assignee: Chris Ridd

 Description   

When running dsconfig interactively, the command exits if asked to display the config for the wrong access control handler:

# Set up a DS/RS and then run dsconfig interactively...
Enter choice: 15


>>>> Global Access Control Policy management menu

What would you like to do?

    1)  Create a new Global Access Control Policy
    2)  View and edit an existing Global Access Control Policy
    3)  Delete an existing Global Access Control Policy
    4)  List existing Global Access Control Policies

    a)  show advanced components and properties
    q)  quit
    b)  back

Enter choice [b]: 2
"DSEE Compatible Access Control Handler" component type cannot be used with
subcommand {set-global-access-control-policy-prop}
$ echo $?
2

A nice interactive behavior would be to display an error message, but continue the session.


Generated at Mon Sep 21 15:30:39 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.