[jira] [Updated] (OFBIZ-9233) Enable a service to run by a specific service engine

2017-03-01 Thread Shi Jinghai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shi Jinghai updated OFBIZ-9233:
---
Attachment: OFBIZ-9233-20170301.patch

This patch implemented multi-service-engine functions.

It introduces a new attribute to service define: service-engine-name. If it's 
not set, the default service-engine will be used, i.e.

Test default service engine name.





if set, the assigned service-engine will used, i.e.

Test specific service engine name.





The example services aboved are in 2 new test cases: testJavaDefaultInvocation 
and testJavaSpecificInvocation, run
./gradlew "ofbiz --test component=service"
 to check whether the services run by different service engines and with 
different poolIds.

> Enable a service to run by a specific service engine
> 
>
> Key: OFBIZ-9233
> URL: https://issues.apache.org/jira/browse/OFBIZ-9233
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Shi Jinghai
>Assignee: Shi Jinghai
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-9233-20170301.patch, 
> OFBIZ-9233-MultiServiceEnginesEnv.png
>
>
> Currently, all of the services of OFBiz are run by the 'default' service 
> engine.
> In a project, we have to make a service run by different service engines 
> rather than the 'default' one, i.e. order services run by 'order' service 
> engine and 'orderpool', shipment services run by 'shipment' service engine 
> and 'shipmentpool'.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9230) Missing reference to the delegator in framework/widget/templates/HtmlFormMacroLibrary.ftl

2017-03-01 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-9230:


I put a proposition in the thread

> Missing reference to the delegator in 
> framework/widget/templates/HtmlFormMacroLibrary.ftl
> -
>
> Key: OFBIZ-9230
> URL: https://issues.apache.org/jira/browse/OFBIZ-9230
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wei Zhang
>Assignee: Jacques Le Roux
>Priority: Minor
>
> To reproduce
> 1. Load test data  systemPropertyId="widget.autocompleter.defaultMinLength" 
> systemPropertyValue="3"/> 
> 2. Open https://localhost:8443/partymgr/control/main
> 3. You will still get warning below in log file
> {quote}
> 2017-02-24 12:56:16,348 |http-nio-8443-exec-7 |EntityUtilProperties  
> |I| Could not get a system property for widget.autocompleter.defaultMinLength 
> : null
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-9238.
--
Resolution: Fixed

> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Wai (JIRA)

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

Wai commented on OFBIZ-9238:


It was closed to refer to OFBIZ-9237.

> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Reopened] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai reopened OFBIZ-9238:


> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (OFBIZ-9241) Removes ecommerce links from applications

2017-03-01 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-9241:
--

 Summary: Removes ecommerce links from applications
 Key: OFBIZ-9241
 URL: https://issues.apache.org/jira/browse/OFBIZ-9241
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Jacques Le Roux
 Fix For: Upcoming Release


While working on OFBIZ-9206 I remembered how the ecommerce webapp is deeply 
entrenched in some applications components. This can at least be tested with 
product and catalog webapp.

# Get to catalog/control/EditProduct?productId=GZ-1000
# Click on the "Product Page" button => ecommerce

There are much more cases (96 occurrences actually) but most of them are not 
hard dependencies. 

Since the ecommerce component is now a plugin, we need to remove all ecommerce 
links from applications, I even wonder if this issue is really an improvement 
or should not be now considered a bug...




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-9238:


Yes, I'm also curious about that :)

> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (OFBIZ-9224) 16.11 ofbizUrl include host+port and break some reverse-proxy / docker setups

2017-03-01 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-9224.
--
   Resolution: Fixed
Fix Version/s: 16.11.02

Fixed at r1785014, for more information see OFBIZ-9206

> 16.11 ofbizUrl include host+port and break some reverse-proxy / docker setups
> -
>
> Key: OFBIZ-9224
> URL: https://issues.apache.org/jira/browse/OFBIZ-9224
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 16.11
>Reporter: Leonard Lin
>Assignee: Jacques Le Roux
> Fix For: 16.11.02
>
>
> OFBiz 16.11 has changed how it generates urls in its templates.
> It sometimes includes hostname+port.
> This can be reproduced on the official ofbiz-demo site:
> Go to http://ofbiz.apache.org/
> - Open the Ofbiz 13.07 Demo (Management Apps)
> - - it will auto-login for your, do a logout so that you can see the 
> login-mask
> - - look at the HTML code and look for the form-post url etc. You can see 
> that none of the URLs include hostname:port. They are all "/url/path"
> - Open the Ofbiz 16.11 Demo (Management Apps)
> - - it will auto-login for your, do a logout so that you can see the 
> login-mask
> - - look at the HTML code and look for the form-post url etc.
> - - the post-urls and login-links have format: https://hostname:port/url/path
> The new 16.11 behaviour can cause problems in cluster / reverse-proxy setups 
> where actual host:port does not match public host:port 
> Before 16.11 this was not an issue because all links were without 
> hostname:port. But now the login masks loads but the subsequent links all 
> show the wrong port.
> url.properties does control port/hostname but preferably we wouldn't need to 
> configure it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9206) Login and logout process in demo backends (Management Apps) shows a certificate issue

2017-03-01 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-9206:


Fixed in R16.11 at revision: 1785014  
Backported in R15/14 at revision: 1785027  (note: ecommerce/ecomseo don't work 
there)




> Login and logout process in demo backends (Management Apps) shows a 
> certificate issue
> -
>
> Key: OFBIZ-9206
> URL: https://issues.apache.org/jira/browse/OFBIZ-9206
> Project: OFBiz
>  Issue Type: Bug
>  Components: Demo
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Attachments: access_log-trunk.txt, console.log-trunk.txt.zip, 
> OFBIZ-9206.patch, ofbiz-vm2.apache.org.yaml
>
>
> When, from the site main page http://ofbiz.apache.org/, you get to the demos 
> depending on browser (tested on Windows 7) you get some issues:
> * FF
> ** Management Apps: OK
> ** Ecommerce: OK
> * Chrome (Management Apps or Ecommerce)
> ** stable: OK
> ** old: KO - If you copy the URL by hand it works, and after even from the 
> main page it works.
> ** trunk: OK
> * IE, same than Chrome
> If, from any browser, you logout from Management Apps you get a certificate 
> issue. Actually as we use HSTS the browsers protect us from any 3rd party 
> intrusions... Same issue when login in.
> So it seems we have a certificate issue after OFBIZ-7928 and INFRA-11960. 
> Maybe it's due to how OFBiz redirects when login in or login out because, so 
> far, only the login page is concerned...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OFBIZ-9206) Login and logout process in demo backends (Management Apps) shows a certificate issue

2017-03-01 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-9206:
---
Attachment: console.log-trunk.txt.zip
access_log-trunk.txt

Fixed in trunk at r1784930.

But this is very dissapointing because unlike locally (cf OFBIZ-9240login out 
shows a 404 page with ecomseo and a blank page for ecommerce.

It's even incomprehensible for me so far. For instance have a look at those 
simplifiedf snippets from access and console logs:
{code}
[01/Mar/2017:15:23:55 +] "GET /ecomseo/ HTTP/1.1" 200 105021 "-"
[01/Mar/2017:15:23:56 +] "GET /content/contentForum.css HTTP/1.1" 302 - 
"https://demo-trunk.ofbiz.apache.org/ecomseo/additem;
[01/Mar/2017:15:23:56 +] "POST /ecomseo/additem HTTP/1.1" 200 111589 
"https://demo-trunk.ofbiz.apache.org/ecomseo/;
[01/Mar/2017:15:23:56 +] "GET /content/control/main HTTP/1.1" 200 8946 
"https://demo-trunk.ofbiz.apache.org/ecomseo/additem;
[01/Mar/2017:15:23:58 +] "GET /ecomseo/quickcheckout HTTP/1.1" 200 10396 
"https://demo-trunk.ofbiz.apache.org/ecomseo/additem;
[01/Mar/2017:15:23:58 +] "GET /content/contentForum.css HTTP/1.1" 302 - 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:23:58 +] "GET /content/control/main HTTP/1.1" 200 8946 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:05 +] "POST /ecomseo/login HTTP/1.1" 302 - 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:05 +] "GET /ecomseo/quickcheckout HTTP/1.1" 200 28992 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:05 +] "GET /content/contentForum.css HTTP/1.1" 302 - 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:05 +] "GET /content/control/main HTTP/1.1" 200 8946 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:12 +] "GET /ecomseo/logout HTTP/1.1" 302 - 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
[01/Mar/2017:15:24:12 +] "GET /ecomseo/ HTTP/1.1" 404 236 
"https://demo-trunk.ofbiz.apache.org/ecomseo/quickcheckout;
{code}

{code}
2017-03-01 15:23:55,147 |ajp-nio-8009-exec-1  |ControlServlet
|T| [[[main(Domain:https://demo-trunk.ofbiz.apache.org)] Request Done- 
total:1.671,since last([main(Domain:http...):1.671]]
2017-03-01 15:23:55,147 |ajp-nio-8009-exec-1  |SeoContextFilter  
|W| [Filtered request]: /ecomseo/
2017-03-01 15:23:55,592 |http-nio-8443-exec-8 |ControlEventListener  
|I| Creating session:  hidden sessionId by default.
2017-03-01 15:23:55,592 |http-nio-8443-exec-8 |ControlServlet
|T| [[[setSessionTimeZone(Domain:https://demo-trunk-ofbiz.apache.org)] Request 
Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
[...]
2017-03-01 15:24:12,759 |ajp-nio-8009-exec-8  |ControlServlet
|T| [[[logout(Domain:https://demo-trunk.ofbiz.apache.org)] Request Done- 
total:0.021,since last([logout(Domain:ht...):0.021]]
2017-03-01 15:24:12,834 |ajp-nio-8009-exec-10 |SeoContextFilter  
|I| Can NOT forward this url: /ecomseo/
{code}


Have a look at console.log-trunk.txt.zip and access_log-trunk.txt for more.

Anyway this should not block us to use a certificate. So I'll also commit 
stable and will work on OFBIZ-9240 locally to try to understand they underlying 
reason which seems to lay in SeoContextFilter class. I have tried to tweak 
SeoConfig.xml w/o results.

> Login and logout process in demo backends (Management Apps) shows a 
> certificate issue
> -
>
> Key: OFBIZ-9206
> URL: https://issues.apache.org/jira/browse/OFBIZ-9206
> Project: OFBiz
>  Issue Type: Bug
>  Components: Demo
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Attachments: access_log-trunk.txt, console.log-trunk.txt.zip, 
> OFBIZ-9206.patch, ofbiz-vm2.apache.org.yaml
>
>
> When, from the site main page http://ofbiz.apache.org/, you get to the demos 
> depending on browser (tested on Windows 7) you get some issues:
> * FF
> ** Management Apps: OK
> ** Ecommerce: OK
> * Chrome (Management Apps or Ecommerce)
> ** stable: OK
> ** old: KO - If you copy the URL by hand it works, and after even from the 
> main page it works.
> ** trunk: OK
> * IE, same than Chrome
> If, from any browser, you logout from Management Apps you get a certificate 
> issue. Actually as we use HSTS the browsers protect us from any 3rd party 
> intrusions... Same issue when login in.
> So it seems we have a certificate issue after OFBIZ-7928 and INFRA-11960. 
> Maybe it's due to how OFBiz redirects when login in or login out because, so 
> far, only the login page is concerned...



--
This message was 

[jira] [Commented] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-9238:
--

How was this fixed?

> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9237) order entry initial screen does not show productStore

2017-03-01 Thread Wai (JIRA)

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

Wai commented on OFBIZ-9237:


The problem is that the demo data is not fully loaded due to a foreign 
constraint issue...

2017-03-01 10:09:59,797 |main |GenericDelegator  
|E| Failure in create operation for entity [PartyContactMech]: 
org.apache.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:PartyContactMech][contactMechId,9020(java.lang.String)][createdStamp,2017-03-01
 10:09:59.795(java.sql.Timestamp)][createdTxStamp,2017-03-01 
10:09:59.783(java.sql.Timestamp)][fromDate,2000-01-01 
10:01:48.933(java.sql.Timestamp)][lastUpdatedStamp,2017-03-01 
10:09:59.795(java.sql.Timestamp)][lastUpdatedTxStamp,2017-03-01 
10:09:59.783(java.sql.Timestamp)][partyId,DemoEmployee(java.lang.String)][roleTypeId,EMPLOYEE(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.PARTY_CONTACT_MECH (PARTY_ID, CONTACT_MECH_ID, FROM_DATE, THRU_DATE, 
ROLE_TYPE_ID, ALLOW_SOLICITATION, EXTENSION, VERIFIED, COMMENTS, 
YEARS_WITH_CONTACT_MECH, MONTHS_WITH_CONTACT_MECH, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table 
"party_contact_mech" violates foreign key constraint "party_cmech_cmech"
  Detail: Key (contact_mech_id)=(9020) is not present in table 
"contact_mech".)). Rolling back transaction.
2017-03-01 10:09:59,797 |main |TransactionUtil   
|W| Calling transaction setRollbackOnly; this stack trace shows where this is 
happening:
java.lang.Exception: Failure in create operation for entity [PartyContactMech]: 
org.apache.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:PartyContactMech][contactMechId,9020(java.lang.String)][createdStamp,2017-03-01
 10:09:59.795(java.sql.Timestamp)][createdTxStamp,2017-03-01 
10:09:59.783(java.sql.Timestamp)][fromDate,2000-01-01 
10:01:48.933(java.sql.Timestamp)][lastUpdatedStamp,2017-03-01 
10:09:59.795(java.sql.Timestamp)][lastUpdatedTxStamp,2017-03-01 
10:09:59.783(java.sql.Timestamp)][partyId,DemoEmployee(java.lang.String)][roleTypeId,EMPLOYEE(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.PARTY_CONTACT_MECH (PARTY_ID, CONTACT_MECH_ID, FROM_DATE, THRU_DATE, 
ROLE_TYPE_ID, ALLOW_SOLICITATION, EXTENSION, VERIFIED, COMMENTS, 
YEARS_WITH_CONTACT_MECH, MONTHS_WITH_CONTACT_MECH, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table 
"party_contact_mech" violates foreign key constraint "party_cmech_cmech"
  Detail: Key (contact_mech_id)=(9020) is not present in table 
"contact_mech".)). Rolling back transaction.

> order entry initial screen does not show productStore
> -
>
> Key: OFBIZ-9237
> URL: https://issues.apache.org/jira/browse/OFBIZ-9237
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> notice productStore is empty



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (OFBIZ-9238) order entry initial screen. customer auto suggestion does not work

2017-03-01 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-9238.
--
Resolution: Fixed

> order entry initial screen. customer auto suggestion does not work
> --
>
> Key: OFBIZ-9238
> URL: https://issues.apache.org/jira/browse/OFBIZ-9238
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
>
> -using demo data
> -use https://localhost:8443/ordermgr/control/orderentry
> -when you type 'demo', ofbiz does not find any entries. expecting 
> 'DemoCustomer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (OFBIZ-9206) Login and logout process in demo backends (Management Apps) shows a certificate issue

2017-03-01 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-9206 at 3/1/17 1:33 PM:


Because of my conclusions at OFBIZ-9240 I'll reapply the changes again and will 
test on demos.


was (Author: jacques.le.roux):
Because of my conclusion at OFBIZ-9240 I'll reapply the changes again and will 
test on demos.

> Login and logout process in demo backends (Management Apps) shows a 
> certificate issue
> -
>
> Key: OFBIZ-9206
> URL: https://issues.apache.org/jira/browse/OFBIZ-9206
> Project: OFBiz
>  Issue Type: Bug
>  Components: Demo
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Attachments: OFBIZ-9206.patch, ofbiz-vm2.apache.org.yaml
>
>
> When, from the site main page http://ofbiz.apache.org/, you get to the demos 
> depending on browser (tested on Windows 7) you get some issues:
> * FF
> ** Management Apps: OK
> ** Ecommerce: OK
> * Chrome (Management Apps or Ecommerce)
> ** stable: OK
> ** old: KO - If you copy the URL by hand it works, and after even from the 
> main page it works.
> ** trunk: OK
> * IE, same than Chrome
> If, from any browser, you logout from Management Apps you get a certificate 
> issue. Actually as we use HSTS the browsers protect us from any 3rd party 
> intrusions... Same issue when login in.
> So it seems we have a certificate issue after OFBIZ-7928 and INFRA-11960. 
> Maybe it's due to how OFBiz redirects when login in or login out because, so 
> far, only the login page is concerned...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OFBIZ-9240) Ecommerce login/logout don't work properly for trunk and stable and even old

2017-03-01 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-9240:
---
Summary: Ecommerce login/logout don't work properly for trunk and stable 
and even old  (was: Ecommerce login/logout don't work properly for trunk and 
stable)

> Ecommerce login/logout don't work properly for trunk and stable and even old
> 
>
> Key: OFBIZ-9240
> URL: https://issues.apache.org/jira/browse/OFBIZ-9240
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12, 
> Release Branch 16.11
>Reporter: Jacques Le Roux
>
> Here are the tests I did and their results.  I did not consider R14/15 
> because of OFBIZ-9235
> h5. On demos before fixing OFBIZ-9206 and using ofbiz-vm2 direct access
> h6. ecomseo trunk and stable (R16)
> # Get to https://ofbiz-vm2.apache.org:8443/ecomseo/ or 
> https://ofbiz-vm2.apache.org:18443/ecomseo/
> # login => main page logged in
> # logout => main page, not logged in
> # login => main page logged in
> # Use the "Not you" link => main page, not logged in
> So it works correctly
> It"s the *same locally with OFBIZ-9206 fixed*, w/ or w/o portoffset
> h6. ecommerce trunk and stable (R16)
> # Get to https://ofbiz-vm2.apache.org:8443/ecommerce or 
> https://ofbiz-vm2.apache.org:18443/ecommerce
> # login => blank page (no 404 in access log)
> # Refresh (F5 key)  get you to the main page, logged in
> # logout => blank page (no 404 in access log)
> # Refresh (F5 key)  get you to the main page, not logged in
> # login => blank page (no 404 in access log)
> # Refresh (F5 key)  get you to the main page, logged in
> # use the "Not you" link => blank page (no 404 in access log)
> # Refresh (F5 key)  get you to the main page, not logged in
> So it works almost correctly but you need a refresh (F5 key) between in the 3 
> cases, not sure why yet.
> It's the same locally *with OFBIZ-9206 fixed*, w/ or w/o portoffset
> h6. Old (R13) on demo (no ecomseo before R14)
> # Get to https://ofbiz-vm2.apache.org:28443/ecommerce
> # login => you need to enter it twice => main page logged in
> # logout => main page, not logged in
> # login  => main page logged in
> # use the "Not you" link => main page, not logged in
> So it "works" but initially you need to enter the credential twice to login
> It's the same locally *with OFBIZ-9206 "fixed" (I'm not yet sure about that, 
> I need to test on demo)*, w/ or w/o portoffset



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)