[midPoint] Admin GUI Configuration - Issue

Jésica Collado collado.jesica at gmail.com
Wed Jan 16 19:43:21 CET 2019


Hi,

I'm trying to configure the available tabs in User and Role Forms. So, I
have 2 roles which make available diferent tabs. But I got an application
error when a user who has both roles login in a specific situation.

If I put, for instance, this xml section in one role
    <adminGuiConfiguration>
        <objectForms>
            <objectForm id="6">
                <type>c:UserType</type>
                <formSpecification>
                    <panelUri>
http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic
</panelUri>
                </formSpecification>
            </objectForm>
        </objectForms>
    </adminGuiConfiguration>

And put this one in the other role
    <adminGuiConfiguration>
        <objectForms>
            <objectForm id="6">
                <type>c:RoleType</type>
                <formSpecification>
                    <panelUri>
http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic
</panelUri>
                </formSpecification>
            </objectForm>
        </objectForms>
    </adminGuiConfiguration>

I'll get this error message: Attempt to add a container value with an id
that already exists: 6

The actual reason seems to be the objectForm id. If I change one of the id
I'll stop getting the error.

Is this the correct way to report an incident?

Thank you.
Jésica Collado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190116/39016845/attachment.htm>


More information about the midPoint mailing list