OpenIDM 4.5.0 — Save button disabled in Admin View

This topic has 1 reply, 2 voices, and was last updated 2 years, 10 months ago by [email protected].

  • Author
    Posts
  • #21721
     alexcavnar
    Participant

    I’m in the Admin view of OpenIDM 4.5.0. Here’s the schema for the managed object in question:

    {
                "name": "permission",
                "schema": {
                    "$schema": "http://forgerock.org/json-schema#",
                    "type": "object",
                    "title": "Permission",
                    "description": "",
                    "icon": "",
                    "properties": {
                        "_id": {
                            "description": "",
                            "title": "id",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": true,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "name": {
                            "description": "The permission name",
                            "title": "Name",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": false,
                            "policies": [],
                            "returnByDefault": true,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "member_price_base": {
                            "description": "",
                            "title": "Member Base Price",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": false,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "member_price_additional": {
                            "description": "",
                            "title": "Member Additional Price",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": false,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "nonmember_price_base": {
                            "description": "",
                            "title": "Non-Member Base Price",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": false,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "nonmember_price_additional": {
                            "description": "",
                            "title": "Non-Member Additional Price",
                            "viewable": true,
                            "searchable": true,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": false,
                            "minLength": "",
                            "pattern": "",
                            "type": "string"
                        },
                        "product_keys": {
                            "description": "Product keys for base access and additional seats, member, and nonmember. ",
                            "title": "Product Keys",
                            "viewable": true,
                            "searchable": false,
                            "userEditable": true,
                            "policies": [],
                            "returnByDefault": true,
                            "minLength": "",
                            "pattern": "",
                            "type": "object",
                            "properties": {
                                "member_base": {
                                    "description": "",
                                    "title": "Member Base Access",
                                    "viewable": true,
                                    "searchable": false,
                                    "userEditable": true,
                                    "policies": [],
                                    "returnByDefault": true,
                                    "minLength": "",
                                    "pattern": "",
                                    "type": "string"
                                },
                                "nonmember_base": {
                                    "description": "",
                                    "title": "Nonmember Base Access",
                                    "viewable": true,
                                    "searchable": false,
                                    "userEditable": true,
                                    "policies": [],
                                    "returnByDefault": true,
                                    "minLength": "",
                                    "pattern": "",
                                    "type": "string"
                                },
                                "member_additional": {
                                    "description": "",
                                    "title": "Member Additional Seats",
                                    "viewable": true,
                                    "searchable": false,
                                    "userEditable": true,
                                    "policies": [],
                                    "returnByDefault": true,
                                    "minLength": "",
                                    "pattern": "",
                                    "type": "string"
                                },
                                "nonmember_additional": {
                                    "description": "",
                                    "title": "Nonmember Additional Seats",
                                    "viewable": true,
                                    "searchable": false,
                                    "userEditable": true,
                                    "policies": [],
                                    "returnByDefault": true,
                                    "minLength": "",
                                    "pattern": "",
                                    "type": "string"
                                }
                            },
                            "required": [],
                            "order": [
                                "member_base",
                                "nonmember_base",
                                "member_additional",
                                "nonmember_additional"
                            ]
                        }
    

    If I try to update a field, say, member_base_price, via the Admin view, the field is designated as userEditable = true. However, when I edit that field, the “Save” button does not enable.

    Is this a bug in 4.5.0? Is there a workaround? The odd thing is that I’m running the same schema/config in multiple environments. It works in my DEV environment, but not in others. Any ideas?

    #21726

    In my experience, the Save button is enabled, when a change to the value is detected, but the javascript is not evaluated when you actually change a value, but when you leave a field.

    Try changing a value and select a different usereditable field next, e.g. givenName.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?