<div dir="ltr"><div>Hi Jesica,</div><div>Remove id="6" from your configuration settings. Midpoint doesn't allow to use the same id  <br></div><div><br></div><div><div>    <adminGuiConfiguration></div><div>        <objectForms></div><div>            <objectForm></div><div>                <type>c:RoleType</type></div><div>                <formSpecification></div><div>                    <panelUri><a href="http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic">http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic</a></panelUri></div><div>                </formSpecification></div><div>            </objectForm></div><div>        </objectForms></div><div>    </adminGuiConfiguration></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 16 Jan 2019 at 20:44, Jésica Collado <<a href="mailto:collado.jesica@gmail.com">collado.jesica@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div><div>If I put, for instance, this xml section in one role</div><div>    <adminGuiConfiguration></div><div>        <objectForms></div><div>            <objectForm id="6"></div><div>                <type>c:UserType</type></div><div>                <formSpecification></div><div>                    <panelUri><a href="http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic</a></panelUri></div><div>                </formSpecification></div><div>            </objectForm></div><div>        </objectForms></div><div>    </adminGuiConfiguration></div></div><div><br></div><div>And put this one in the other role</div><div>    <adminGuiConfiguration></div><div>        <objectForms></div><div>            <objectForm id="6"></div><div>                <type>c:RoleType</type></div><div>                <formSpecification></div><div>                    <panelUri><a href="http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic</a></panelUri></div><div>                </formSpecification></div><div>            </objectForm></div><div>        </objectForms></div><div>    </adminGuiConfiguration></div><div><br></div><div>I'll get this error message: <span style="color:rgb(0,0,0);font-family:Tahoma,Arial,sans-serif;font-size:12px">Attempt to add a container value with an id that already exists: 6</span></div><div><span style="color:rgb(0,0,0);font-family:Tahoma,Arial,sans-serif;font-size:12px"><br></span></div><div><font face="Tahoma, Arial, sans-serif" color="#000000"><span style="font-size:12px">The actual reason seems to be the objectForm id. If I change one of the id I'll stop getting the error.</span></font></div><div><br></div><div>Is this the correct way to report an incident?</div><div><br></div><div>Thank you.</div><div>Jésica Collado</div></div></div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(76,76,76)">Best regards, <br><br><img src="cid:o.nekriach@dynatech.lv1520941785292-7770"> <br><br>Oleksandr Nekriach | Identity and access management engineer <br><br>Dynatech, <a href="https://www.google.com/maps/place/DYNATECH/@56.9575205,24.1107235,17z/data=!3m1!4b1!4m5!3m4!1s0x46eecf5753e42351:0x23b120b9745cae62!8m2!3d56.9575205!4d24.1129122" target="_blank">Jeruzalemes iela 1, Rīga, LV-1010, Latvia</a><br><br><div style="display:inline-block"><a href="tel:+371%2025%20314%20685" value="+37125314685" target="_blank">+37125314685</a></div>, <div style="display:inline-block"><a href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a></div> | <div style="display:inline-block"><a href="http://www.dynatech.lv" target="_blank">www.dynatech.lv</a></div> <br><br>Stay connected: <br><div style="display:inline-block;margin:5px 5px 0px 0px"><a href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><img src="cid:o.nekriach@dynatech.lv1520941785292-7771"></a></div><div style="display:inline-block;margin:5px 0px 0px"><a href="https://www.linkedin.com/company-beta/17893047/" target="_blank"><img src="cid:o.nekriach@dynatech.lv1520941785292-7772"></a></div><br><br><span style="font-size:11px;color:rgb(161,161,161)">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.</span></span></div></div></div></div>