Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2221

Exception message when a context value is null or blank is confusing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Null or blank values are not allowed in the page activation context or event context because they are rendered out as nothing, and the consecutive slashes in the URL are ambiguously handled by servlet containers.

      However, the exception is the generic "parameter may not be blank" message from Defense.notBlank().

      A more specific error is required, which will inform the user about what was actually wrong.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: