[midPoint] Bulk Password change (Pavol Mederly)

Jan Kaspar Caspi at seznam.cz
Sat Jan 6 21:12:35 CET 2018


Hi Pavol,




thanks for reply. I also try that but i got error:





  Couldn't parse bulk action object
  
 (http://192.168.4.104:8080/admin/config/bulk?270-1.ILinkListener-feedbackContainer-feedback-list-4-message-detailsBox-downloadXml)
  
 

 
 Operation
 operation.performBulkAction
 Message
 Couldn't parse bulk action object
 
 
 
 
 
 
 Error
 Error parsing XML document The prefix "q" for element "q:equal" is not 
 bound.
 show
 java.lang.IllegalStateException: Error parsing XML document The prefix "q" 
 for element "q:equal" is not bound. at com.evolveum.midpoint.util.DOMUtil.
 parse(DOMUtil.java:255) at com.evolveum.midpoint.prism.lex.dom.
 DomLexicalProcessor.read(DomLexicalProcessor.java:84) at com.evolveum.
 midpoint.prism.marshaller.PrismParserImpl.doParseRealValue(PrismParserImpl.
 java:157) at com.evolveum.midpoint.prism.marshaller.PrismParserImpl.
 doParseRealValue(PrismParserImpl.java:163) at com.evolveum.midpoint.prism.
 marshaller.PrismParserImplNoIO.parseRealValue(PrismParserImplNoIO.java:146)
 at com.evolveum.midpoint.web.page.admin.configuration.PageBulkAction.
 startPerformed(PageBulkAction.java:117)
 
 





<s:executeScript xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/
scripting-3"

                 xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/
common-3"

                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                 xmlns:api="http://midpoint.evolveum.com/xml/ns/public/
common/api-types-3">

    <s:pipeline>

    <s:search>

        <s:type>UserType</s:type>

        <s:searchFilter>

        <q:equal>

            <q:path>name</q:path>

            <q:value>jack</q:value>

        </q:equal>

            </s:searchFilter>

        </s:search>

        <s:action>

            <s:type>generate-value</s:type>

            <s:parameter>

                <s:name>items</s:name>

                <c:value xsi:type="api:PolicyItemsDefinitionType">

                    <api:policyItemDefinition>

                        <api:target>

                            <api:path>credentials/password/value</api:path>

                        </api:target>

                        <api:execute>true</api:execute>

                    </api:policyItemDefinition>

                </c:value>

            </s:parameter>

        </s:action>       

        <s:filterContent>

            <s:keep>name</s:keep>

            <s:keep>credentials/password/value</s:keep>

        </s:filterContent>

    </s:pipeline>

    <s:options>

        <s:continueOnAnyError>true</s:continueOnAnyError>

    </s:options>

</s:executeScript>




Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180106/afb49b23/attachment.htm>


More information about the midPoint mailing list