-
Type:
Improvement
-
Status: Done
-
Priority:
Trivial
-
Resolution: Complete
-
Affects Version/s: 1.2.1
-
Fix Version/s: 1.3.1
-
Component/s: None
-
Labels:None
-
Story Points:1
-
Rank (Obsolete):9223372036854775807
What is the functional justification for enforcing this validation on modules? Is it really necessary to enforce that the short description must start with a capitol letter and end with a period? Seems a bit unnecessary and opinionated to me.
Caused by: org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'info' on field 'shortDescription': rejected value [...snip...]; 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;@3984374e,^\p
.*\.$]; default message [Short description must start with a capital letter and end with a dot]