We're updating the issue view to help you get more done. 

When field-metadata tag writes "type" attribute for a field it misses a comma, rendering json syntactically incorrect

Description

Sample output from <stripes:field-metadata>: ... "transferAmount":{type:"BigDecimal"required:true,ignore:false ...

Above, the comma is missing before the "required" property.

Problem is in FieldMetadataTag.java lines 152-157 + 162. Suggested change on 162, mimicking 216;
<fieldInfo.append("required:").append(data.required())
>fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("required:").append(data.required())

Environment

None

Status

Assignee

BenB

Reporter

Carl Krig

Tester

None

Components

Fix versions

Affects versions

Release 1.5.6

Priority

Major