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

        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).
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development