2 Replies Latest reply on Feb 28, 2013 8:24 PM by Sham HC

    Issue while starting a workflow using a form submission cq5

    chamila.fernando

      Hi,

       

      I have followed the below mentioned tutorial and completed it.

       

      http://dev.day.com/docs/en/cq/current/workflows/create-models.html#par_reference

       

      Once done, I did try to start the workflow using a normal form submission, by giving workflow name in the "Start Workflow" box.

       

      Once clicked it will send the notification to my inbox, and when I double click, the form 1 will be displayed. Once submitted form two will be displayed.

       

      But when I submit the form 2, it thorws the below exception.

       

      But when I start the same workflow using the sidekick, It works perfectly fine. I am guessing that the {payload}.html is not getting set when the WF is initaited by a form submission.

       

      Could you please help with this. Thank you !

       

      Exception

       

      Not Found

       

       

      Cannot serve request to /content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480595_ 27.html in org.apache.sling.servlets.get.DefaultGetServlet

      Request Progress:

       

       

            0 (2013-02-21 17:38:19) TIMER_START{Request Processing}

            0 (2013-02-21 17:38:19) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>

            0 (2013-02-21 17:38:19) LOG Method=GET, PathInfo=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614 48480595_27.html

            0 (2013-02-21 17:38:19) TIMER_START{ResourceResolution}

            1 (2013-02-21 17:38:19) TIMER_END{1,ResourceResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html resolves to Resource=JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27

            1 (2013-02-21 17:38:19) LOG Resource Path Info: SlingRequestPathInfo: path='/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614484 80595_27', selectorString='null', extension='html', suffix='null'

            1 (2013-02-21 17:38:19) TIMER_START{ServletResolution}

            1 (2013-02-21 17:38:19) TIMER_START{resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)}

            1 (2013-02-21 17:38:19) TIMER_END{0,resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet

            1 (2013-02-21 17:38:19) TIMER_END{0,ServletResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet

            1 (2013-02-21 17:38:19) LOG Applying Requestfilters

            1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet

            1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter

            1 (2013-02-21 17:38:19) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter

            1 (2013-02-21 17:38:19) LOG Applying Componentfilters

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter

            1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter

            1 (2013-02-21 17:38:19) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}

            1 (2013-02-21 17:38:19) LOG No renderer for extension html

            1 (2013-02-21 17:38:19) LOG Applying Error filters

            1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

            1 (2013-02-21 17:38:19) TIMER_START{handleError:status=404}

            1 (2013-02-21 17:38:19) TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp

            2 (2013-02-21 17:38:19) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@88fc5d1), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@170420bb), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@1000e0cb), serializer=Config(type=htmlwriter, config={}))}

            2 (2013-02-21 17:38:19) TIMER_END{2,Request Processing} Dumping SlingRequestProgressTracker Entries

       

       

      ApacheSling/2.2 (Day-Servlet-Engine/4.1.24, Java HotSpot(TM) 64-Bit Server VM 1.7.0_07, Windows 7 6.1 amd64)