[midPoint] Admin GUI Configuration - Issue

Oleksandr Nekriach o.nekriach at dynatech.lv
Fri Jan 18 15:52:27 CET 2019


Hi Jesica,
Remove id="6" from your configuration settings. Midpoint doesn't allow to
use the same id

    <adminGuiConfiguration>
        <objectForms>
            <objectForm>
                <type>c:RoleType</type>
                <formSpecification>
                    <panelUri>
http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic
</panelUri>
                </formSpecification>
            </objectForm>
        </objectForms>
    </adminGuiConfiguration>

On Wed, 16 Jan 2019 at 20:44, Jésica Collado <collado.jesica at gmail.com>
wrote:

> 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
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>


-- 
Best regards,



Oleksandr Nekriach | Identity and access management engineer

Dynatech, Jeruzalemes iela 1, Rīga, LV-1010, Latvia
<https://www.google.com/maps/place/DYNATECH/@56.9575205,24.1107235,17z/data=!3m1!4b1!4m5!3m4!1s0x46eecf5753e42351:0x23b120b9745cae62!8m2!3d56.9575205!4d24.1129122>

+37125314685 <+371%2025%20314%20685>
,
o.nekriach at dynatech.lv
|
www.dynatech.lv


Stay connected:
<https://www.facebook.com/DynatechLatvia/?ref=br_rs>
<https://www.linkedin.com/company-beta/17893047/>


Confidentiality Notice: This message contains confidential information and
is intended only for the named recipient(s). If you are not the addressee
you may not copy, distribute or perform any other activities with this
information. If you have received this transmission in error, please notify
us by e-mail immediately. E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190118/b1865b6a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7772
Type: image/png
Size: 786 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190118/b1865b6a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7771
Type: image/png
Size: 790 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190118/b1865b6a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7770
Type: image/png
Size: 4265 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190118/b1865b6a/attachment-0002.png>


More information about the midPoint mailing list