[midPoint] Objects uploaded via REST API, everything between <code></code> mangled into single

Ivan Noris ivan.noris at evolveum.com
Fri Apr 21 10:07:46 CEST 2017


Hi Kari,

this is interesting, as I'm using midPoint 3.5.1 with Eclipse plugin
(which uses REST) and after uploading resource, I certainly see
multiline code in Repository pages... Maybe that's different operation...

Regards,

Ivan



On 04/20/2017 07:47 PM, Kari Heikkilä wrote:
>
> Hi,
>
>  
>
> started to use midPoint REST API for updating objects I noticed that
> everything between <code></code> tags is reformatted into single line.
>
> This means multiline groovy scripts will become very difficult to read
> (for human) in midPoint and if semicolons are missing, groovy code
> execution will most probably fail.
>
>  
>
> Used PUT method and .xml files with both nl and cr+lf line endings tried.
>
>  
>
> Is there anything to prevent this behavior?
>
>  
>
> Best regards,
>
> Kari
>
>  
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com

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


More information about the midPoint mailing list