1 Reply Latest reply on Aug 4, 2009 7:41 AM by Nathanael Law

    Not correctly generating component URLs for (some) redirecte

    Nathanael Law Newbie

      Since search is giving me a "Cannot invoke the operation : module threw an exception" error, I'm going to go ahead and post this even though someone else has probably encountered this issue before.

      The URLs generated for page components are generated with an extra / at the front for some redirected pages. This includes the login-form pages and any pages with rewritten URLs (e.g., via URLRewriteFilter). The extra slash is interpreted by Firefox as "http://" so it keeps trying to access http://a4j/... I haven't had a chance to test it with other browsers, but I assume the double slashes should not be generated in the first place. It's probably just a configuration error on my part, but I haven't been able to track it down yet. Any pointers would be appreciated.

      E.g. a style sheet URL for the login form page gets generated as
      //a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf but on a directly accessed page is generated as /a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf Similarly when accessing /notes/342 which gets rewritten to /notes/view.jsf?id=342 all links have an extra / at the beginning.

      Thanks!