You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by gil portenseigne <gi...@nereide.fr> on 2009/04/03 11:34:09 UTC

Error with link "BackHome"

During a SFA contact creation i tried to use the link "Go Back", leading to an 
error.

To correct this :


Index: applications/marketing/webapp/sfa/WEB-INF/controller.xml
===================================================================
--- applications/marketing/webapp/sfa/WEB-INF/controller.xml	(revision 761579)
+++ applications/marketing/webapp/sfa/WEB-INF/controller.xml	(working copy)
@@ -174,6 +174,10 @@
         <event type="service" invoke="createContact"/>
         <response name="success" type="view" value="viewprofile"/>
     </request-map>
+    <request-map uri="backHome">
+        <security https="true" auth="true" />
+        <response name="success" type="view" value="CreateContact" />
+    </request-map>
      
     <!-- Forecast Requests -->
     <request-map uri="FindSalesForecast">

Thanks

Gil PORTENSEIGNE

Re: Error with link "BackHome"

Posted by gil portenseigne <gi...@nereide.fr>.
Hi Hans,

Ok, I didn't see the include controller files.... now I understand how that 
works with the home location.

thank you for your explanation !

Gil

Re: Error with link "BackHome"

Posted by Hans Bakker <ma...@antwebsystems.com>.
Hi Gil,

have a look at the top of the controller file there you see that the
controller file from 'common' is included, there you will find
backhome.....

i updated the controller file from sfa so it is using the request
viewprofile from party (also included) where the home location is
saved....what was not happening in this case....

thanks for reporting,

Regards,
Hans

On Mon, 2009-04-06 at 10:18 +0200, gil portenseigne wrote:
> Normally, i am using the latest of the svn... , i have made an update, and 
> tried again. I found the same error, so i will try to explain it more 
> precisely :
> 
> After creating a contact in the sfa module 
> (https://localhost:8443/sfa/control/createContact) I manage to create contact 
> information... but the link found here (Go back) call 
> https://localhost:8443/sfa/control/backHome, and this backHome is not define in 
> the SFA controller... That's why i proposed to add it in the controller. 
> 
> Are you sure that's the bug you are talking about ?
> 
> (Sorry, but these are my first steps in ofbiz project)
> 
> Regards,
> 
> Gil
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates


Re: Error with link "BackHome"

Posted by gil portenseigne <gi...@nereide.fr>.
Normally, i am using the latest of the svn... , i have made an update, and 
tried again. I found the same error, so i will try to explain it more 
precisely :

After creating a contact in the sfa module 
(https://localhost:8443/sfa/control/createContact) I manage to create contact 
information... but the link found here (Go back) call 
https://localhost:8443/sfa/control/backHome, and this backHome is not define in 
the SFA controller... That's why i proposed to add it in the controller. 

Are you sure that's the bug you are talking about ?

(Sorry, but these are my first steps in ofbiz project)

Regards,

Gil

Re: Error with link "BackHome"

Posted by Hans Bakker <ma...@antwebsystems.com>.
could it be you are not using the latest from svn?...this was corrected
a few days ago.....

Regards,
Hans

On Fri, 2009-04-03 at 11:34 +0200, gil portenseigne wrote:
> During a SFA contact creation i tried to use the link "Go Back", leading to an 
> error.
> 
> To correct this :
> 
> 
> Index: applications/marketing/webapp/sfa/WEB-INF/controller.xml
> ===================================================================
> --- applications/marketing/webapp/sfa/WEB-INF/controller.xml	(revision 761579)
> +++ applications/marketing/webapp/sfa/WEB-INF/controller.xml	(working copy)
> @@ -174,6 +174,10 @@
>          <event type="service" invoke="createContact"/>
>          <response name="success" type="view" value="viewprofile"/>
>      </request-map>
> +    <request-map uri="backHome">
> +        <security https="true" auth="true" />
> +        <response name="success" type="view" value="CreateContact" />
> +    </request-map>
>       
>      <!-- Forecast Requests -->
>      <request-map uri="FindSalesForecast">
> 
> Thanks
> 
> Gil PORTENSEIGNE
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates