Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4906

The converter() method of com.opensymphony.xwork2.conversion.annotations.TypeConversion is now deprecated. If this method is removed in some next release, it will forbid to describe a converter by the name (id) of a Spring bean.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.14.1
    • Fix Version/s: 2.5.16
    • Component/s: Core
    • Labels:
      None

      Description

      Hi,

      I upgrade Struts2 from the 2.5.10.1 version to the 2.5.14.1 version, and unfortunately I saw that the converter() method of the com.opensymphony.xwork2.conversion.annotations.TypeConversion class got deprecated.

      It is very useful when the value of the "converter" attribute corresponds to a Spring-based bean.

      Is it a feature to be removed on some next release ? Can this feature be un-deprecated ?

      Best regards,

      Christophe Deleray

        Attachments

        1. Struts2Converter.zip
          21 kB
          Christophe Deleray

          Issue Links

            Activity

              People

              • Assignee:
                yasser.zamani Yasser Zamani
                Reporter:
                cdeleray Christophe Deleray
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: