Click
  1. Click
  2. CLK-126

Custom error page class not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Click RC1

      Description

      Custom error page classes do not get picked up. After debugging this it looks like the error pages are added into the pageByPathMap without the / character at the front. When the application loads pages the / character is always preprended if not already present. I think this is fixable by chaning this constant:

      static final String CLICK_PATH = "click";

      so that it includes a / character at the start.

        Activity

        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Malcolm Edgar made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Malcolm Edgar added a comment -

        Thanks for identifying this issue, and providing a fix.

        regards Malcolm Edgar

        Show
        Malcolm Edgar added a comment - Thanks for identifying this issue, and providing a fix. regards Malcolm Edgar
        Malcolm Edgar made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Glen Stampoultzis added a comment -

        Also, I'm not sure if this problem occurs for RC2 as I haven't been able to download it yet (SF is down).

        Show
        Glen Stampoultzis added a comment - Also, I'm not sure if this problem occurs for RC2 as I haven't been able to download it yet (SF is down).
        Glen Stampoultzis created issue -

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Glen Stampoultzis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development