提交 8c52e718 编写于 作者: K Kohsuke Kawaguchi

improve the error diagnostics.

during the databinding, failure to find a descriptor is an error.
上级 0751429b
......@@ -113,7 +113,7 @@ THE SOFTWARE.
<j:set var="items" value="${instance[name] ?: attrs.default}"/>
<!-- and expose update descriptor to the body of this tag -->
<j:set var="descriptor" value="${descriptor.getPropertyType(instance,field).itemTypeDescriptor}" />
<j:set var="descriptor" value="${descriptor.getPropertyType(instance,field).itemTypeDescriptorOrDie}" />
</j:when>
<j:otherwise>
<j:set var="name" value="${attrs.name?:attrs.var}"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册