Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-786

Make error messages more specific (omnibus issue)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Blocker
    • Resolution: Unresolved
    • Nightly Build
    • 1.4.0
    • Core
    • None
    • Operating System: other
      Platform: Other
    • 11733

    Description

      When I'm trying to track through the Struts source code to find out where an
      error message is being emitted, after I find the display string in the
      properties files, I then have to search for the given key in the source code.
      It would be very convenient if the key associated with that display string was
      specific enough to be reasonably certain that it wouldn't occur hundreds of
      times in unrelated places. Unfortunately, for several (most?) of these error
      keys, that is not the case. A perfect example: "formBean". That's the error
      code for "Error creating form bean of class

      {0}

      ". From the ones I see near
      "formBean" in the ActionResources.properties file, there are many keys that are
      not specific at all.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmkarr@earthlink.net David M. Karr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: