Spring Web Flow
  1. Spring Web Flow
  2. SWF-1392

Spring Web Flow 1.0 does not work with Spring 3

    Details

      Description

      Spring Web Flow 1.0 does not work with Spring 3 due to the fact that Spring 3 removed some deprecated items that Spring Web Flow 1.0 relies on. I have created a patch to remove those deprecated dependencies from Spring Web Flow 1.0.

      The first change is required due to the removal of ConfigurableBeanFactory.registerCustomEditor(Class requiredType, PropertyEditor propertyEditor) in favor of the PropertyEditorRegistrar approach. The second change is due to the removal of BindException.ERROR_KEY_PREFIX in favor of BindException.MODEL_KEY_PREFIX.

      I'm not sure how much interest there is in enhancing version 1.x of Spring Web Flow but I needed to create this patch to be able to upgrade an application to use Spring 3. This application requires Spring Web Flow 1.x because of a dependency on Struts 1.2.

      1. spring-3-patch.txt
        12 kB
        Larry Zappaterrini
      2. spring3-release-patch.txt
        18 kB
        Larry Zappaterrini

        Activity

        Hide
        Rossen Stoyanchev added a comment -

        Thanks for providing the patch. I'm lowering the priority based on the fact we're no longer providing releases on the 1.x branch.

        Show
        Rossen Stoyanchev added a comment - Thanks for providing the patch. I'm lowering the priority based on the fact we're no longer providing releases on the 1.x branch.
        Hide
        Sujay Dutta added a comment -

        Is there any way we can get this patch into the official release? What are the options?

        Show
        Sujay Dutta added a comment - Is there any way we can get this patch into the official release? What are the options?
        Hide
        Larry Zappaterrini added a comment -

        Patch that includes changes to changelog and updates the release number to 1.0.6.1.

        Show
        Larry Zappaterrini added a comment - Patch that includes changes to changelog and updates the release number to 1.0.6.1.
        Hide
        Ashish Jamthe added a comment -

        Larry,
        Spring source is not providing release on the 1.x branch. Is there any way for me to access the compiled jar for 1.0.6.1 .
        I need to upgrade my application to spring 3.0 but retain SWF at 1.x version. I want to avoid compiling SWF myself.
        Regards,
        Ashish

        Show
        Ashish Jamthe added a comment - Larry, Spring source is not providing release on the 1.x branch. Is there any way for me to access the compiled jar for 1.0.6.1 . I need to upgrade my application to spring 3.0 but retain SWF at 1.x version. I want to avoid compiling SWF myself. Regards, Ashish
        Hide
        Larry Zappaterrini added a comment -
        Show
        Larry Zappaterrini added a comment - Ashish, see here https://www.dropbox.com/sh/2fwghc56manczw5/TnbQY0FjKA
        Hide
        Erwin Vervaet added a comment -

        Strangely enough we never noticed this problem and we've been using SWF 1.0.6 + JSF 1.x + Spring 3.1 for several months now.

        Anyway, building SWF 1.x is dead simple: simply download the distribution jar and check the readme in de 'projects/build-spring-webflow' dir (basically just do 'ant release').

        Show
        Erwin Vervaet added a comment - Strangely enough we never noticed this problem and we've been using SWF 1.0.6 + JSF 1.x + Spring 3.1 for several months now. Anyway, building SWF 1.x is dead simple: simply download the distribution jar and check the readme in de 'projects/build-spring-webflow' dir (basically just do 'ant release').

          People

          • Assignee:
            Keith Donald
            Reporter:
            Larry Zappaterrini
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 0.25d
              0.25d
              Remaining:
              Remaining Estimate - 0.25d
              0.25d
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development