Tiles
  1. Tiles
  2. TILES-111

TilesRequestContext is null in PreparerFactory call

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: tiles-core
    • Labels:
      None
    • Flags:
      Patch

      Description

      In BasicTilesContainer.java file, following code is used, and I think it should be fixed with correct code:
      ViewPreparer preparer = preparerFactory.getPreparer(preparerName, null);
      =>
      ViewPreparer preparer = preparerFactory.getPreparer(preparerName, context);

      Thanks.

        Activity

        Jacky Chan created issue -
        Antonio Petrelli made changes -
        Field Original Value New Value
        Assignee Antonio Petrelli [ brenmcguire ]
        Hide
        Antonio Petrelli added a comment -

        Fixed description of the issue.

        Show
        Antonio Petrelli added a comment - Fixed description of the issue.
        Antonio Petrelli made changes -
        Description In BasicContainer.java file, following code is used, and I think it should be fixed with correct code:
        ViewPreparer preparer = preparerFactory.getPreparer(preparerName, null);
        =>
         ViewPreparer preparer = preparerFactory.getPreparer(preparerName, context);

        Thanks.
        In BasicTilesContainer.java file, following code is used, and I think it should be fixed with correct code:
        ViewPreparer preparer = preparerFactory.getPreparer(preparerName, null);
        =>
         ViewPreparer preparer = preparerFactory.getPreparer(preparerName, context);

        Thanks.
        Summary TilesRequestContext is null in ViewPreparer TilesRequestContext is null in PreparerFactory call
        Hide
        Antonio Petrelli added a comment -

        Fixed the call for PreparerFactory.getPreparer, with the inclusion of TilesRequestContext.
        Thanks for the patch Jacky, but a note: I think this is not your real name, but anyway I added it in the SVN commit log.
        I think it's better for you to use your real name, so your help will be better rewarded.

        Thanks again.

        Show
        Antonio Petrelli added a comment - Fixed the call for PreparerFactory.getPreparer, with the inclusion of TilesRequestContext. Thanks for the patch Jacky, but a note: I think this is not your real name, but anyway I added it in the SVN commit log. I think it's better for you to use your real name, so your help will be better rewarded. Thanks again.
        Antonio Petrelli made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 2.0.1 [ 21792 ]
        Antonio Petrelli made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Workflow Struts [ 40973 ] Struts - editable closed status [ 42878 ]
        Antonio Petrelli made changes -
        Flags [Patch]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 42878 ] Struts - editable closed status (temporary) [ 45754 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 45754 ] Struts - editable closed status [ 49477 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 49477 ] Simplified [ 53238 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:30:28 UTC 2010 [ 1264987828110 ]

          People

          • Assignee:
            Antonio Petrelli
            Reporter:
            Jacky Chan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development