Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3240

dependency.tagx generates ERROR when exists a field with name different of the reference object.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2.RELEASE
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
    • Environment:
      personnal computer

      Description

      dependency.tagx generate ERROR when exists a field with name different of the reference object.

      — FIELD REFERENCE
      @ManyToOne
      @NotNull
      private Agent creator;

      – CODE OF dependency.tagx
      <field:reference field="${dependency[0]}" id="${fn:escapeXml(id)}_${dependency[0]}" path="/${dependency[1]}"/>

      – GENERATED ERROR
      javax.servlet.jsp.JspTagException: No message found under code 'label_com_vilela_sponsorshipapp_domain_enrollment_agent' for locale 'en_US'.

      – field label created
      label_com_vilela_sponsorshipapp_domain_enrollment_creator=Creator

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                raphaelvilela Raphael Vilela
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: