[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17165073#comment-17165073
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit 30c0d6d7af060e33e7c5c8d1214310968be137c7 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=30c0d6d ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Pritam Kute
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17165069#comment-17165069
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit 1662e5b42ef5ee36dc2aa68544615340056b68de in ofbiz-framework's branch 
refs/heads/release17.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1662e5b ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Pritam Kute
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17165067#comment-17165067
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit 1662e5b42ef5ee36dc2aa68544615340056b68de in ofbiz-framework's branch 
refs/heads/release17.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1662e5b ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Pritam Kute
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17165071#comment-17165071
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit 30c0d6d7af060e33e7c5c8d1214310968be137c7 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=30c0d6d ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Pritam Kute
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17164890#comment-17164890
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit fc865c458a16a681183c25297d0f395027a36625 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fc865c4 ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17164892#comment-17164892
 ] 

ASF subversion and git services commented on OFBIZ-11838:
-

Commit fc865c458a16a681183c25297d0f395027a36625 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fc865c4 ]

Fixed: One page checkout is broken because of ordermgr::getAssociatedStateList 
(OFBIZ-11838)

On orderview screen at the ordermgr, when a user tries to change the status of
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

<@ofbizUrl>changeOrderStatus/orderview

Hence when the request is done, it is rewriting URL to
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview.

When js functions running in the backend like "getAssociatedStateList" are
called, they are getting the wrong URL to send a request to. This was causing
the issue.

For now, there are two different fixes that can handle both problems which are
mentioned in OFBIZ-2562 and OFBIZ-11838.

1.
  To change the request mapping for "changeOrderStatus" and add request-redirect
  to "orderview" screen. Change the actions in the forms in OrderInfo.ftl to
  call "changeOrderStatus" request only and then remove code in
  "getAssociatedStateList" js function to rewrite URL.

2.
  To add .length to the existing URL rewrite code written in
  "getAssociatedStateList" js function as

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

Thanks: Pritam Kute!

I picked the 2nd solution


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-07-25 Thread Pritam Kute (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17164871#comment-17164871
 ] 

Pritam Kute commented on OFBIZ-11838:
-

Hello [~jleroux],

I have investigated more on 
[OFBIZ-2562|https://issues.apache.org/jira/browse/OFBIZ-2562] and made the 
following observations.

On orderview screen at the ordermgr, when a user tries to change the status of 
the order, in OrderInfo.ftl, we are calling "changeOrderStatus" request as

{code:java}

<@ofbizUrl>changeOrderStatus/orderview

{code}

Hence when the request is done, it is rewriting URL to 
https://localhost:8443/ordermgr/control/changeOrderStatus/orderview. When js 
functions are running in the backend like "getAssociatedStateList" are called, 
they are getting the wrong URL to send a request to. This was causing the issue.

For now, there are two different fixes that can handle both problems which are 
mentioned in [OFBIZ-2562|https://issues.apache.org/jira/browse/OFBIZ-2562] and 
[OFBIZ-11838|https://issues.apache.org/jira/browse/OFBIZ-11838].
# To change the request mapping for "changeOrderStatus" and add 
request-redirect to "orderview" screen. Change the actions in the forms in 
OrderInfo.ftl to call "changeOrderStatus" request only and then remove code in 
"getAssociatedStateList" js function to rewrite URL.
# To add .length to the existing URL rewrite code written in 
"getAssociatedStateList" js function as

{code:java}

if (jQuery('#orderViewed').length) {
requestToSend = "/ordermgr/control/getAssociatedStateList"
}

{code}


> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-06-20 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17141184#comment-17141184
 ] 

Jacques Le Roux commented on OFBIZ-11838:
-

This is also due to cf272a9750db86927d6f2692320fe0f4165dd0ff commit for 
OFBIZ-11306 which begins to make sense to me...later...

> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11838) One page checkout is broken because of ordermgr::getAssociatedStateList

2020-06-20 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17141183#comment-17141183
 ] 

Jacques Le Roux commented on OFBIZ-11838:
-

This is due to OFBIZ-2562. I have to investigate more, because the solution to 
OFBIZ-2562 seems weird to me.

> One page checkout is broken because of ordermgr::getAssociatedStateList
> ---
>
> Key: OFBIZ-11838
> URL: https://issues.apache.org/jira/browse/OFBIZ-11838
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Major
>
> It works in example/control/FormWidgetExamples so it's an ecommerce issue. It 
> also works at https://demo-stable.ofbiz.apache.org/ecomseo/onePageCheckout so 
> it's something "recent"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)