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

        Hide
        Antonio Petrelli added a comment -

        Fixed description of the issue.

        Show
        Antonio Petrelli added a comment - Fixed description of the issue.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development