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

AbstractCreateAction emits error unnecessarily

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3.8
    • 1.3.9
    • Core
    • None

    Description

      Some ActionConfigs specify a command class instead of an action class.

      The following code in in AbstractCreateAction will emit an error even though there's a valid command class specified and no error should be reported to the application developer.

      AbstractCreateAction .java
      --------------
      ...
      78: if (type == null) {
      79: if ((actionConfig.getForward() == null)
      80: && (actionConfig.getInclude() == null))

      { 81: LOG.error("no type for " + actionConfig.getPath()); 82: }

      ...
      --------------

      Attachments

        Activity

          People

            Unassigned Unassigned
            os111 ori
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: