[midPoint] Prefix namespace bindings may not be empty

Petr Gašparík - AMI Praha a.s. petr.gasparik at ami.cz
Tue Apr 14 13:40:17 CEST 2020


Hi all,
I am seeking for help with a bug that haunting us for half a day:

prefix="xmlns",localpart="qn906",rawname="xmlns:qn906"" is invalid.
Prefixed namespace bindings may not be empty.

What we have done:

   - we use *assignmentTargetSearch *to assign a service to an user
   - we use *populate* to set validFrom/validTo for this new user's
   assignment to a service

If we delete the "populate" structure from the template, it works.

The bug is pretty cryptic to us.

------------------------------

Also, there is a strange behaviour of midPoint (may be related) - two
identical* environments (test, production) with two identical midPoints,
and every environment add different sets of namespace attributes:

   - we upload this tag - part of "populate" structure:
   <script>
   - environment test normalizes it to:
   <script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:type="c:ScriptExpressionEvaluatorType">
   - environment production normalizes it to:
   <script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="
   http://midpoint.evolveum.com/xml/ns/public/common/common-3"
   xsi:type="c:ScriptExpressionEvaluatorType">

Any tips would be helpful. Thank you in advance!

--

best regards

*Petr Gašparík*
konzultant IT bezpečnosti

gsm: [+420] 603 523 860
e‑mail: petr.gasparik at ami.cz

*AMI Praha a.s.*
Pláničkova 11, 162 00 Praha 6

tel.: [+420] 274 783 239 | web: www.ami.cz

[image: AMI Praha a.s.]

Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá
za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.

Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat
důvěrné nebo osobní
informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv
zveřejňování, zprostředkování
nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně,
informujte o tom prosím
odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně
všech jeho příloh. Nakládáním
s neoprávněně získanými informacemi se vystavujete riziku právního postihu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200414/bac9a742/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service_User_Template.xml
Type: text/xml
Size: 2373 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200414/bac9a742/attachment.xml>


More information about the midPoint mailing list