[JIRA] (IDP-1881) Failed TemplateAttribute should generate a runtime warning (or error)

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Dec 8 14:07:39 UTC 2021


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-1881 ( https://shibboleth.atlassian.net/browse/IDP-1881?atlOrigin=eyJpIjoiNzg0YmJkYWVjZmU2NDE4OWIzNzI4ZDQ4ODE1MTAwYzciLCJwIjoiaiJ9 )

Re: Failed TemplateAttribute should generate a runtime warning (or error) ( https://shibboleth.atlassian.net/browse/IDP-1881?atlOrigin=eyJpIjoiNzg0YmJkYWVjZmU2NDE4OWIzNzI4ZDQ4ODE1MTAwYzciLCJwIjoiaiJ9 )

As Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) surmised there is a much better field fix for V4.1

  <bean id="shibboleth.VelocityEngineProperties" parent="shibboleth.DefaultVelocityEngineProperties">
       <property name="sourceMap">
           <map merge="true">
               <entry key="runtime.strict_mode.enable" value="true" />
           </map>
       </property>
   </bean>

This future proofs you against change to the configuration.

( https://shibboleth.atlassian.net/browse/IDP-1881#add-comment?atlOrigin=eyJpIjoiNzg0YmJkYWVjZmU2NDE4OWIzNzI4ZDQ4ODE1MTAwYzciLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1881#add-comment?atlOrigin=eyJpIjoiNzg0YmJkYWVjZmU2NDE4OWIzNzI4ZDQ4ODE1MTAwYzciLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- sha1:f6eba4b )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211208/ac10de1c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-8a3d7a83-7a09-4d27-b263-de5919f0bc4a
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211208/ac10de1c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-b79ac23d-b2e3-4c23-9f3c-cd0c997d06a5
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211208/ac10de1c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-915537b3-584e-4c44-9459-0ea847316bed
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211208/ac10de1c/attachment-0005.png>


More information about the commits mailing list