Uploaded image for project: 'Stripes'
  1. STS-852

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

    Details

    • Sprint:

      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())

        Attachments

          Activity

            People

            • Assignee:
              bengunter BenB
              Reporter:
              aliquid Carl Krig
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: