Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3206

An error message occurs about the shortDescription (header-enricher)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2 GA
    • Fix Version/s: None
    • Component/s: Stream Module
    • Labels:
      None
    • Story Points:
      1
    • Rank (Obsolete):
      9223372036854775807

      Description

      Here is an error I got using the header-enricher from spring-xd-modules :

      Field error in object 'info' on field 'shortDescription': rejected value [A Header Enricher to set message headers in a stream]; codes [Pattern.info.shortDescription,Pattern.shortDescription,Pattern.java.lang.String,Pattern]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [info.shortDescription,shortDescription]; arguments []; default message [shortDescription],[Ljavax.validation.constraints.Pattern$Flag;@11eeec65,^\p{IsUppercase}.*\.$]; default message [Short description must start with a capital letter and end with a dot]
      

      And if I look the config properties, indeed, short description doesn't end with a dot.

      info.shortDescription = A Header Enricher to set message headers in a stream
      

        Attachments

          Activity

            People

            Assignee:
            iperumal Ilayaperumal Gopinathan
            Reporter:
            fmarchand Franck MARCHAND
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: