<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello Loïc,</p>
    <p>this is something we tried to avoid when writing parsers, so I am
      a bit surprised that it occurred.</p>
    <p>Please, could you share relevant parts of your scenario in a JIRA
      issue? (Original / current XSD schema, original / current XML
      version of the user, maybe the REST modification).</p>
    <p>As for the fix, you could try to manually edit your
      m_object.fullObject column - it is a byte array holding the XML
      version of the object.</p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 18/05/2020 10:21, Loïc Schamber
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR0102MB2589C3987C8B5A922A1F8381B2B80@VI1PR0102MB2589.eurprd01.prod.exchangelabs.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Roboto;
        panose-1:2 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi everyone.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-GB">I have a user with wrong
            schema ( Due to Rest modification ) and now I have a fatal
            error in the User List.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">In the logs I was able
            to find the name and the OID of my user.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">I would like to manually
            correct the XML of the user but the user won’t even appear
            in the Repository objects.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">Is there a way to
            correct the user or should I manually delete it from the
            Mipoint DB? ( By deleting m_user, m_focus and m_object
            entries )<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">Best regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <table class="MsoNormalTable" cellspacing="0" cellpadding="0"
          border="0">
          <tbody>
            <tr>
              <td colspan="3" style="padding:0cm 0cm 0cm 0cm"
                valign="top">
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH"
                      lang="EN-GB">Loïc Schamber</span></b><span
                    style="mso-fareast-language:FR-CH" lang="EN-GB">
                  </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH"
                    lang="EN-GB"> | Junior IT Consultant<br>
                     </span><span style="mso-fareast-language:FR-CH"
                    lang="EN-GB"> <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="width:141.0pt;border:none;border-right:solid
                #E22D36 1.5pt;padding:0cm 0cm 0cm 0cm" width="188"
                valign="top">
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a
                    href="https://www.serial.ch/" moz-do-not-send="true"><span
style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img
                        style="width:2.0104in;height:.7187in"
                        id="_x0000_i1028"
                        src="cid:part1.4C4BA8B3.2AC4B152@evolveum.com"
                        alt="logo" class="" width="193" height="69"
                        border="0"></span></a><span
                    style="mso-fareast-language:FR-CH"><o:p></o:p></span></p>
              </td>
              <td style="width:7.5pt;padding:0cm 0cm 0cm 0cm" width="10">
                <p class="MsoNormal"><span
                    style="mso-fareast-language:FR-CH"> <o:p></o:p></span></p>
              </td>
              <td style="width:372.75pt;padding:0cm 0cm 0cm 0cm"
                width="497" valign="top">
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36;mso-fareast-language:FR-CH"><a
                      href="mailto:lschamber@serial.ch"
                      moz-do-not-send="true"><span style="color:#E22D36">lschamber@serial.ch</span></a>
                    |  <a href="tel:+41%2022%20555%2027%2069"
                      moz-do-not-send="true"><span style="color:#919191">+41
                        22 555 27 69</span></a>
                    <br>
                  </span><span
style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH">Chemin
                    du Pré-Fleuri 5 – CH 1228 Plan-les-Ouates
                    <o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="border:none;border-right:solid #E22D36
                1.5pt;padding:0cm 0cm 0cm 0cm" valign="bottom">
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a
href="https://www.linkedin.com/company/redcactus-by-positivethinkingcompany"
                    target="_blank" moz-do-not-send="true"><span
                      style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img
                        style="width:.1979in;height:.1979in"
                        id="_x0000_i1027"
                        src="cid:part5.A1C0DB9B.00C51A04@evolveum.com"
                        alt="LinkedIn" class="" width="19" height="19"
                        border="0"></span></a><span
                    style="mso-fareast-language:FR-CH"> 
                  </span><a
                    href="https://www.instagram.com/positivethinkingcompany"
                    target="_blank" moz-do-not-send="true"><span
                      style="color:blue;mso-fareast-language:FR-CH;text-decoration:none"><img
                        style="width:.1979in;height:.1979in"
                        id="_x0000_i1026"
                        src="cid:part7.4B794EB5.7F9EC0E2@evolveum.com"
                        alt="Instagram" class="" width="19" height="19"
                        border="0"></span></a><span
                    style="mso-fareast-language:FR-CH"><o:p></o:p></span></p>
              </td>
              <td style="padding:0cm 0cm 0cm 0cm" valign="bottom"><br>
              </td>
              <td style="padding:0cm 0cm 0cm 0cm" valign="bottom">
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    style="mso-fareast-language:FR-CH"><a
                      href="www.serial.ch" moz-do-not-send="true"><b><span
style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36"
                          lang="EN-GB">Redcactus by SERIAL
                        </span></b><span
style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#E22D36"
                        lang="EN-GB">www.serial.ch</span></a></span><span
                    style="mso-fareast-language:FR-CH" lang="EN-GB"><br>
                  </span><span style="mso-fareast-language:FR-CH"><a
                      href="www.positivethinking.co"
                      moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#919191"
                        lang="EN-GB">www.positivethinking.co</span></a></span><span
                    style="mso-fareast-language:FR-CH" lang="EN-GB"><br>
                  </span><span
style="font-size:3.5pt;font-family:"Tahoma",sans-serif;color:#919191;mso-fareast-language:FR-CH"
                    lang="EN-GB"> </span><span
                    style="mso-fareast-language:FR-CH" lang="EN-GB"><o:p></o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
        <div class="MsoNormal" style="text-align:center" align="center"><span
            style="color:black;mso-fareast-language:FR-CH">
            <hr width="100%" size="2" align="center">
          </span></div>
        <p class="MsoNormal"><b><span
style="font-size:8.0pt;font-family:Roboto;color:#E22D36;mso-fareast-language:FR-CH"
              lang="EN-GB">Help save paper, do you really need to print
              this email?</span></b><span
            style="mso-fareast-language:FR-CH" lang="EN-GB"><br>
          </span><i><span
style="font-size:8.0pt;font-family:Roboto;color:black;mso-fareast-language:FR-CH"
              lang="EN-GB">The content of this email and any attachments
              are confidential and are intended solely for the person
              and/or company to whom they are addressed. The information
              may also be legally privileged. No employee or agent is
              authorized to conclude any binding agreement on behalf of
              SERIAL with another party by email without express written
              confirmation. If you have received this email in error,
              any use, reproduction or dissemination of this
              transmission is strictly prohibited. If you are not the
              intended recipient, please immediately notify the sender
              by return E-mail and delete this message, its attachments
              and all copies from your system. Internet communications
              cannot be guaranteed to be timely, secure, error or
              virus-free. The sender does not accept liability for any
              errors or omissions.
            </span></i><i><span
style="font-size:8.0pt;font-family:Roboto;color:black;mso-fareast-language:FR-CH">Thank
              you for your cooperation.<br>
               </span></i><o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>