Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix StringBuilder.toString(), add invalidValue in message #172

Closed
wants to merge 1 commit into from
Closed

fix StringBuilder.toString(), add invalidValue in message #172

wants to merge 1 commit into from

Conversation

slavb18
Copy link
Contributor

@slavb18 slavb18 commented Sep 16, 2016

  • fix No message body writer has been found for class java.lang.StringBuilder, ContentType: text/plain
  • add invalidValue in message

Example messages:

Value 'Desctiption follows' of DocumentResourceImpl.create.arg0.description: size must be between 36 and 36
Value (null) of DocumentResourceImpl.create.arg0.displayName: may not be null
Value 'Desctiption follows' of DocumentResourceImpl.create.arg0.description: must match "[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"
Value ' ' of DocumentResourceImpl.create.arg0.displayName: must match ".[^\s ]."
Value 'Desctiption follows' of DocumentResourceImpl.create.arg0.description: must match "[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"
Value 'Desctiption follows' of DocumentResourceImpl.create.arg0.description: size must be between 36 and 36

Compare to xsd validation message:
Internal Exception: org.xml.sax.SAXParseException; cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}' for type 'UUID'.
Internal Exception: org.xml.sax.SAXParseException; cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '.[^\s ].' for type 'notEmptyString'.

…gBuilder, ContentType: text/plain

- add invalidValue in message
@asfgit asfgit closed this in d6a70f5 Sep 16, 2016
rnetuka pushed a commit to rnetuka/cxf that referenced this pull request Oct 3, 2022
Revert "ENTESB-9296 - Use Tomcat 8.0.36.redhat-35"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant