Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-549

client side validation: remove default error array

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • None
    • None

    Description

      Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .

      This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
      https://issues.apache.org/jira/browse/ADFFACES-106

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gabrielle Gabrielle Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment