<div dir="ltr">Hi Ivan <div><br><div>Thanks for your reply. jira you have pointed is might be related to UI only and what i observed is if i use model web service to modify one inducement it is deleting other inducements.</div></div><div><br></div><div>We are using the master branch so latest midpoint version.</div><div><br></div><div>Regards</div><div>Dharmendra</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 1:01 PM, Ivan Noris <span dir="ltr"><<a href="mailto:ivan.noris@evolveum.com" target="_blank">ivan.noris@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I believe this is the issue:
    <a href="https://jira.evolveum.com/browse/MID-2113" target="_blank">https://jira.evolveum.com/browse/MID-2113</a> and it should be fixed,
    but please see the comment in JIRA.<br>
    <br>
    Also, what version of midPoint are you using?<br>
    <br>
    Thanks,<br>
    regards<br>
    Ivan<div><div class="h5"><br>
    <br>
    <div>On 02/12/2015 08:08 AM, Dharmendra
      Parakh wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi Radovan
        <div><br>
        </div>
        <div>Additional Information:</div>
        <div><br>
        </div>
        <div>We have a requirement to update the role inducement from
          web service client, where we have to add/delete some resource
          attributes.</div>
        <div><br>
        </div>
        <div>In our scenario we have a role with multiple inducements
          (let say one role and one resource inducement). Now i want to
          add some additional attribute-values in resource inducement.
          To do this we calculate the correct inducement
          (AssignmentType) object with all current attributes and try to
          replace this inducement. </div>
        <div>Earlier this was working for us but now when we do this
          other inducement information is lost (induced role is no
          longer available in role).</div>
        <div><br>
        </div>
        <div>I am attaching the request xml with the mail...</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards</div>
        <div>Dharmendra</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Feb 12, 2015 at 12:03 PM,
          Manish Baid <span dir="ltr"><<a href="mailto:baid_manish@yahoo.com" target="_blank">baid_manish@yahoo.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:14px">
                <div>Hi Radovan,</div>
                <div dir="ltr">We are showing a demo to our clients,
                  looks like with recent 3.1 release, inducement update
                  is behaving differently.</div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr">If you can work with Dharmendra to work
                  through this (he is in India timezone, will be
                  available in your mornings), it would be of great
                  help.</div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr">Thanks<br>
                </div>
                <div>
                  <div>
                    <div><span></span></div>
                    <br>
                    <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:14px">
                      <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">
                        <div dir="ltr"> ----- Forwarded Message -----<br>
                          <font face="Arial"> <b><span style="font-weight:bold">From:</span></b>
                            Manish Baid <<a href="mailto:baid_manish@yahoo.com" target="_blank">baid_manish@yahoo.com</a>><br>
                            <b><span style="font-weight:bold">To:</span></b>
                            midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>>
                            <br>
                            <b><span style="font-weight:bold">Cc:</span></b>
                            Dharmendra Parakh <<a href="mailto:dharmendra@confluxsys.com" target="_blank">dharmendra@confluxsys.com</a>>;
                            Indrajit Chauhan <<a href="mailto:indrajit@confluxsys.com" target="_blank">indrajit@confluxsys.com</a>>
                            <br>
                            <b><span style="font-weight:bold">Sent:</span></b>
                            Wednesday, February 11, 2015 4:14 PM<br>
                            <b><span style="font-weight:bold">Subject:</span></b>
                            URGENT ... Role inducements lost on role
                            updates<br>
                          </font> </div>
                        <div><br>
                          <div>
                            <div>
                              <div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:14px">
                                <div dir="ltr">Hi,</div>
                                <div dir="ltr">With 3.1 release code
                                  (and also after MID-2194), when
                                  inducement/s is/are updated in a role,
                                  other related indcuments are removed.</div>
                                <div dir="ltr"><br>
                                </div>
                                <div dir="ltr">Here is an example:</div>
                                <div dir="ltr"><br>
                                </div>
                                <div dir="ltr">* Role had an indcument:
                                  "LDAP Account" with 3 group
                                  memberships</div>
                                <div dir="ltr">* Role is modified to add
                                  a role inducement (role hierarchy) </div>
                                <div dir="ltr"><br>
                                </div>
                                <div dir="ltr">Observation: 3 group
                                  memberships that were part of "Ldap
                                  Account" inducments are removed. <br>
                                </div>
                                <div dir="ltr"><br>
                                </div>
                                <div dir="ltr">Please see object XMLs of
                                  before and after.</div>
                                <div dir="ltr"><br>
                                </div>
                                <div dir="ltr">Thanks<br>
                                </div>
                                <div><br>
                                </div>
                              </div>
                            </div>
                          </div>
                          <br>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer
  <a href="http://evolveum.com" target="_blank">evolveum.com</a>     <a href="http://evolveum.com/blog/" target="_blank">evolveum.com/blog/</a>
  _____________________________________________
  "Semper Id(e)M Vix."
</pre>
  </font></span></div>

<br>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>