[jira] [Updated] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].

2017-06-23 Thread Daniel Coric (JIRA)

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

Daniel Coric updated OFBIZ-9426:

Attachment: error.log

> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> 
>
> Key: OFBIZ-9426
> URL: https://issues.apache.org/jira/browse/OFBIZ-9426
> Project: OFBiz
>  Issue Type: Bug
>  Components: cmssite, content
>Affects Versions: Release Branch 15.12, Release Branch 16.11
> Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
>Reporter: Daniel Coric
> Attachments: error.log
>
>
> Unable to delete "path alias" in the "content"-component.
> The Following Errors Occurred:
> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> Steps to reproduce the error:
> Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> 
> Delete 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-8026) Error while generating Acct Trans Entries Pdf on overview screen of Accounting Payment.

2017-06-23 Thread Do Nhu Vy (JIRA)

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

Do Nhu Vy commented on OFBIZ-8026:
--

http://ofbiz.135035.n4.nabble.com/Press-button-ACCTG-TRANS-ENTRIES-PDF-cause-exception-td4707000.html

> Error while generating Acct Trans Entries Pdf on overview screen of 
> Accounting Payment.
> ---
>
> Key: OFBIZ-8026
> URL: https://issues.apache.org/jira/browse/OFBIZ-8026
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Akshay Modak
>Assignee: Akshay Modak
>
> Steps to regenerate:
> 1) Login to Accounting component.
> 2) Switch to Payments tab.
> 3) Now search payment with status "received".
> 4) Open any payment from the search result.
> 5) Click on "Acct Trans Entries PDF" button.
> 6) Error will occur.
> Error: HTTP Status 500 - ERROR rendering error page [/error/error.jsp], but 
> here is the error text: 
> org.eclipse.birt.report.engine.api.EngineException Error happened while 
> running the report.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-4361) Any ecommerce user has the ability to reset anothers password (including admin) via "Forget Your Password"

2017-06-23 Thread mz4wheeler (JIRA)

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

mz4wheeler commented on OFBIZ-4361:
---

Hey guys:  My main point when I wrote this jira was the objection of allowing 
the "admin" users password to be reset (under YOUR feet), by anyone VIA the 
ecommerce module.  

I don't necessarily object to resetting the password via a back end module, 
like accounting, because presumably the back end modules "should be" protected 
from the internet.  Still, any back end (system) user should be protected from 
inadvertent password resets, unless enabled, where any NEW customers should be 
allowed to reset their password, as long as there is an email assigned, and 
email is enabled.

For back end system user logins, including "admin", "accounting", etc., email 
resets should be disabled (by default), unless enabled (somehow), maybe by 
adding a new role, like "allow_password_resets", for instance.

> Any ecommerce user has the ability to reset anothers password (including 
> admin) via "Forget Your Password"
> --
>
> Key: OFBIZ-4361
> URL: https://issues.apache.org/jira/browse/OFBIZ-4361
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 11.04, Trunk
> Environment: Ubuntu and others
>Reporter: mz4wheeler
>Assignee: Michael Brohl
>  Labels: security
>
> Currently, any user (via ecommerce "Forget Your Password") has the ability to 
> reset another users password, including "admin" without permission.  By 
> simply entering "admin" and clicking "Email Password", the following is 
> displayed.
> The following occurred:
> A new password has been created and sent to you. Please check your Email.
> This now forces the user of the ERP to change their password.  It is also 
> possible to generate a dictionary attack against ofbiz because there is no 
> capta code required.  This is serious security risk.
> This feature could be reduced to a certain sub-set of users, whose login name 
> is optionally in the format of an email address, and maybe require a capta 
> code to prevent dictionary attacks.
> For example, limit the feature to role "Customer" of type "Person" which was 
> generated via an ecommerce transaction.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OFBIZ-9165) pdf printout of payment transactions cause exception

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9165.
--
   Resolution: Duplicate
Fix Version/s: OFBIZ-8026

> pdf printout of payment transactions cause exception
> 
>
> Key: OFBIZ-9165
> URL: https://issues.apache.org/jira/browse/OFBIZ-9165
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
> Fix For: OFBIZ-8026
>
>
> Create an order for DemoCustomer
> Specify "offline payment: check/money order"
> Enter payment for amount owning (cash)
> Go to the payment overview... 
> https://localhost:8443/accounting/control/paymentOverview?paymentId=1
> Click on pdf printout transaction entries for a sales order. Got an exception
> {code}
> Console output...
> 2017-01-02 07:57:54,818 |http-nio-8443-exec-1 |RequestHandler
> |I| Ran Event 
> [groovy:component://birt/groovyScripts/accounting/PaymentAcctgTransEntryParameters.groovy#]
>  from [request], result is [success]
> 2017-01-02 07:57:54,822 |http-nio-8443-exec-1 |RequestHandler
> |I| Rendering View [PaymentAcctgTransEntriesPdf].  Hidden sessionId by 
> default.
> 2017-01-02 07:57:54,823 |http-nio-8443-exec-1 |BirtFactory   
> |I| Got report in 0.0s from: 
> file:/ofbiz-trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
> 2017-01-02 07:57:55,461 |http-nio-8443-exec-1 |BirtWorker
> |I| Get report engine
> 2017-01-02 07:57:55,484 |http-nio-8443-exec-1 |BirtWorker
> |I| Set BIRT locale:en_US
> 2017-01-02 07:57:55,516 |http-nio-8443-exec-1 |BirtWorker
> |I| Set BIRT parameters:{paymentId=1, userLoginId=admin}
> 2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker
> |I| BIRT's locale is: en_US
> 2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker
> |I| Run report's task
> 2017-01-02 07:57:56,132 |http-nio-8443-exec-1 |ControlServlet
> |E| Error in request handler: 
> org.eclipse.birt.report.engine.api.EngineException: Error happened while 
> running the report.
> at 
> org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2363)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
> at 
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
> at 
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
> at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:144) 
> ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:118)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210) 
> [ofbiz.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 
> [javax.servlet-api-3.1.0.jar:3.1.0]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
> [javax.servlet-api-3.1.0.jar:3.1.0]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
> [tomcat-embed-websocket-8.0.39.jar:8.0.39]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
>  [ofbiz.jar:?]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
> at 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>  [ofbiz.jar:?]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  

[jira] [Created] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].

2017-06-23 Thread Daniel Coric (JIRA)
Daniel Coric created OFBIZ-9426:
---

 Summary: The following required parameter is missing: [IN] 
[removeWebSitePathAlias.fromDate].
 Key: OFBIZ-9426
 URL: https://issues.apache.org/jira/browse/OFBIZ-9426
 Project: OFBiz
  Issue Type: Bug
  Components: cmssite, content
Affects Versions: Release Branch 16.11, Release Branch 15.12
 Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
Reporter: Daniel Coric


Unable to delete "path alias" in the "content"-component.

The Following Errors Occurred:
The following required parameter is missing: [IN] 
[removeWebSitePathAlias.fromDate].

Steps to reproduce the error:
Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> 
Delete 





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OFBIZ-9165) pdf printout of payment transactions cause exception

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-9165:
---
Description: 
Create an order for DemoCustomer
Specify "offline payment: check/money order"
Enter payment for amount owning (cash)
Go to the payment overview... 
https://localhost:8443/accounting/control/paymentOverview?paymentId=1
Click on pdf printout transaction entries for a sales order. Got an exception

{code}
Console output...

2017-01-02 07:57:54,818 |http-nio-8443-exec-1 |RequestHandler
|I| Ran Event 
[groovy:component://birt/groovyScripts/accounting/PaymentAcctgTransEntryParameters.groovy#]
 from [request], result is [success]
2017-01-02 07:57:54,822 |http-nio-8443-exec-1 |RequestHandler
|I| Rendering View [PaymentAcctgTransEntriesPdf].  Hidden sessionId by default.
2017-01-02 07:57:54,823 |http-nio-8443-exec-1 |BirtFactory   
|I| Got report in 0.0s from: 
file:/ofbiz-trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
2017-01-02 07:57:55,461 |http-nio-8443-exec-1 |BirtWorker
|I| Get report engine
2017-01-02 07:57:55,484 |http-nio-8443-exec-1 |BirtWorker
|I| Set BIRT locale:en_US
2017-01-02 07:57:55,516 |http-nio-8443-exec-1 |BirtWorker
|I| Set BIRT parameters:{paymentId=1, userLoginId=admin}
2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker
|I| BIRT's locale is: en_US
2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker
|I| Run report's task
2017-01-02 07:57:56,132 |http-nio-8443-exec-1 |ControlServlet
|E| Error in request handler: 
org.eclipse.birt.report.engine.api.EngineException: Error happened while 
running the report.
at 
org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2363)
 ~[org.eclipse.birt.runtime-4.4.1.jar:?]
at 
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
 ~[org.eclipse.birt.runtime-4.4.1.jar:?]
at 
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 ~[org.eclipse.birt.runtime-4.4.1.jar:?]
at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:144) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:118)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210) 
[ofbiz.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
[tomcat-embed-websocket-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209) 
[ofbiz.jar:?]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156) 
[ofbiz.jar:?]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
 [tomcat-catalina-8.0.39.jar:8.0.39]
at 

[jira] [Closed] (OFBIZ-9383) Birt plugin depends on example plugin

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9383.
--
   Resolution: Fixed
Fix Version/s: Upcoming Release

Thanks Michael, 

Fixed in trunk at r1799699  

> Birt plugin depends on example plugin 
> --
>
> Key: OFBIZ-9383
> URL: https://issues.apache.org/jira/browse/OFBIZ-9383
> Project: OFBiz
>  Issue Type: Bug
>  Components: birt
>Affects Versions: Trunk
>Reporter: Michael Brohl
>Assignee: Jacques Le Roux
> Fix For: Upcoming Release
>
>
> The BIRT demo data for flexible reports depends on the Example entity from 
> the Example plugin.
> We should either provide BIRT's own example data with example reports OR 
> setup a gradle dependency on the example plugin so that everything is in 
> place.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-5316) Internationalisation of Birt reports

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5316:


Hi Taher,

Did you continue to work on this?

> Internationalisation of Birt reports
> 
>
> Key: OFBIZ-5316
> URL: https://issues.apache.org/jira/browse/OFBIZ-5316
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: birt
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> Currently the Birt reports are not internationalised/localised. There is a 
> way to do that it's explained here 
> http://wiki.eclipse.org/BIRT/FAQ/Internationalization. I don't think we need 
> to tweak to use uilabel files. We use the same way in the POS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-9392) Refactor CatalinaContainer

2017-06-23 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-9392:


Committed work in r1799708. Thank you everyone for your valuable help and 
feedback.

> Refactor CatalinaContainer
> --
>
> Key: OFBIZ-9392
> URL: https://issues.apache.org/jira/browse/OFBIZ-9392
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>Priority: Minor
> Attachments: OFBIZ-9392.patch, OFBIZ-9392.patch, OFBIZ-9392.patch, 
> OFBIZ-9392.patch
>
>
> The implementation of CatalinaContainer.java is currently very verbose, has 
> replicated code, and is difficult to navigate.
> The objective of this JIRA is to breakup the logic into smaller manageable 
> functions to allow for further enhancements in the future.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OFBIZ-9427) Grade build adds excludedJavaSources to every source path

2017-06-23 Thread Michael Brohl (JIRA)
Michael Brohl created OFBIZ-9427:


 Summary: Grade build adds excludedJavaSources to every source path
 Key: OFBIZ-9427
 URL: https://issues.apache.org/jira/browse/OFBIZ-9427
 Project: OFBiz
  Issue Type: Bug
  Components: Gradle
Affects Versions: Trunk
Reporter: Michael Brohl
Priority: Minor


The .classpath file generated by ./gradlew eclipse contains the following:


{noformat}

























{noformat}

The excluded attribute should be limited to the corresponding source paths.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-5316) Internationalisation of Birt reports

2017-06-23 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-5316:


Hi Jacques,

I stopped working on this a long time ago. Anyway the code I included in the 
comments is useful as a starting point. I have my eyes set on the core 
framework, plugin system, and more fundamental stuff at the moment.

> Internationalisation of Birt reports
> 
>
> Key: OFBIZ-5316
> URL: https://issues.apache.org/jira/browse/OFBIZ-5316
> Project: OFBiz
>  Issue Type: Improvement
>  Components: birt
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> Currently the Birt reports are not internationalised/localised. There is a 
> way to do that it's explained here 
> http://wiki.eclipse.org/BIRT/FAQ/Internationalization. I don't think we need 
> to tweak to use uilabel files. We use the same way in the POS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OFBIZ-3898) BIRT umbrella issues

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-3898.
--
Resolution: Fixed

Nothing more waiting here

> BIRT umbrella issues
> 
>
> Key: OFBIZ-3898
> URL: https://issues.apache.org/jira/browse/OFBIZ-3898
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Erwan de FERRIERES
>Assignee: Jacques Le Roux
>
> Will serve as an umbrella, to aggregate all the BIRT issues



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OFBIZ-9383) Birt plugin depends on example plugin

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-9383:
--

Assignee: Jacques Le Roux

> Birt plugin depends on example plugin 
> --
>
> Key: OFBIZ-9383
> URL: https://issues.apache.org/jira/browse/OFBIZ-9383
> Project: OFBiz
>  Issue Type: Bug
>  Components: birt
>Affects Versions: Trunk
>Reporter: Michael Brohl
>Assignee: Jacques Le Roux
>
> The BIRT demo data for flexible reports depends on the Example entity from 
> the Example plugin.
> We should either provide BIRT's own example data with example reports OR 
> setup a gradle dependency on the example plugin so that everything is in 
> place.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OFBIZ-3898) BIRT umbrella issues

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-3898:
--

Assignee: Jacques Le Roux

> BIRT umbrella issues
> 
>
> Key: OFBIZ-3898
> URL: https://issues.apache.org/jira/browse/OFBIZ-3898
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Erwan de FERRIERES
>Assignee: Jacques Le Roux
>
> Will serve as an umbrella, to aggregate all the BIRT issues



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OFBIZ-8024) Error while generating Acct Trans Entries Pdf on overview screen of Invoice Accounting.

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-8024.
--
Resolution: Duplicate

It's not exactly the same way to generate than OFBIZ-8026 but it's the same 
error

> Error while generating Acct Trans Entries Pdf on overview screen of Invoice 
> Accounting.
> ---
>
> Key: OFBIZ-8024
> URL: https://issues.apache.org/jira/browse/OFBIZ-8024
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Akshay Modak
>Assignee: Akshay Modak
>
> Steps to regenerate:
> 1) Login to Accounting component.
> 2) Switch to Invoices tab.
> 3) Now search invoices with status "paid".
> 4) Open any invoice from the search result.
> 5) Click on "Acct Trans Entries PDF" button.
> 6) Error wil occur.
> Error: HTTP Status 500 - ERROR rendering error page [/error/error.jsp], but 
> here is the error text: 
> org.eclipse.birt.report.engine.api.EngineException Error happened while 
> running the report.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].

2017-06-23 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-9426:
---

Assignee: Deepak Dixit

> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> 
>
> Key: OFBIZ-9426
> URL: https://issues.apache.org/jira/browse/OFBIZ-9426
> Project: OFBiz
>  Issue Type: Bug
>  Components: cmssite, content
>Affects Versions: Release Branch 15.12, Release Branch 16.11
> Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
>Reporter: Daniel Coric
>Assignee: Deepak Dixit
> Attachments: error.log
>
>
> Unable to delete "path alias" in the "content"-component.
> The Following Errors Occurred:
> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> Steps to reproduce the error:
> Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> 
> Delete 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OFBIZ-7192) Error running test suite

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-7192.
--
Resolution: Won't Fix
  Assignee: Jacques Le Roux

This appears only during test. If you start OFBiz and shutdown it you don't 
have this error. So no memory leak is to fear in production. And, because I did 
not find the reason why this appears only with the ebay plugin (not with other 
plugins), I prefer to neglect memory leaks during test.

> Error running test suite
> 
>
> Key: OFBIZ-7192
> URL: https://issues.apache.org/jira/browse/OFBIZ-7192
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk, Release Branch 15.12
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
>
> When either running
> bq.  ant run-test-suite -Dtest.component=minilang 
> -Dtest.suiteName=MinilangTests
> or
> bq. java -jar ofbiz.jar --test component=minilang -test 
> suitename=MinilangTests
> You get the errors below
> {code}
> 2016-06-05 06:34:13,712 |main |ContainerLoader   
> |I| Stopping container catalina-container-test
> 2016-06-05 06:34:13,868 |0.0.0.0-startStop-1  |ServiceContainer  
> |I| Removing from cache dispatcher: ebay
> 2016-06-05 06:34:13,868 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| De-Registering dispatcher: ebay
> 2016-06-05 06:34:13,871 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [OFBiz-JobPoller] but has failed to stop it. This is very lik
> ely to create a memory leak. Stack trace of thread:
>  java.lang.Thread.sleep(Native Method)
>  org.ofbiz.service.job.JobPoller$JobManagerPoller.run(JobPoller.java:214)
>  java.lang.Thread.run(Unknown Source)
> 2016-06-05 06:34:13,872 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [delegator-startup-1] but has failed to stop it. This is very
>  likely to create a memory leak. Stack trace of thread:
>  sun.misc.Unsafe.park(Native Method)
>  java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
>  
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown
>  Source)
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(Unknown
>  Source)
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(Unknown
>  Source)
>  java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
>  java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>  java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>  java.lang.Thread.run(Unknown Source)
> 2016-06-05 06:34:13,872 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [RetryTimer] but has failed to stop it. This is very likely t
> o create a memory leak. Stack trace of thread:
>  java.lang.Object.wait(Native Method)
>  java.lang.Object.wait(Unknown Source)
>  java.util.TimerThread.mainLoop(Unknown Source)
>  java.util.TimerThread.run(Unknown Source)
> 2016-06-05 06:34:13,872 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [ForkJoinPool-1-worker-1] but has failed to stop it. This is
> very likely to create a memory leak. Stack trace of thread:
>  sun.misc.Unsafe.park(Native Method)
>  java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
>  java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
>  java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
> 2016-06-05 06:34:13,872 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [ForkJoinPool-1-worker-2] but has failed to stop it. This is
> very likely to create a memory leak. Stack trace of thread:
>  sun.misc.Unsafe.park(Native Method)
>  java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
>  java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
>  java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
> 2016-06-05 06:34:13,873 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application [ebay] appears to have started a thread named 
> [ForkJoinPool-1-worker-3] but has failed to stop it. This is
> very likely to create a memory leak. Stack trace of thread:
>  sun.misc.Unsafe.park(Native Method)
>  java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
>  java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
>  java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
> 2016-06-05 06:34:13,873 |0.0.0.0-startStop-1  |WebappClassLoaderBase 
> |W| The web application 

[jira] [Closed] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].

2017-06-23 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-9426.
---
   Resolution: Fixed
Fix Version/s: 16.11.04

> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> 
>
> Key: OFBIZ-9426
> URL: https://issues.apache.org/jira/browse/OFBIZ-9426
> Project: OFBiz
>  Issue Type: Bug
>  Components: cmssite, content
>Affects Versions: Release Branch 15.12, Release Branch 16.11
> Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
>Reporter: Daniel Coric
>Assignee: Deepak Dixit
> Fix For: 16.11.04
>
> Attachments: error.log
>
>
> Unable to delete "path alias" in the "content"-component.
> The Following Errors Occurred:
> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> Steps to reproduce the error:
> Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> 
> Delete 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].

2017-06-23 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-9426:
-

Thanks  Daniel Coric for reporting the issue,
This has been fixed at 
ofbiz-framework trunk at r#1799687 
Release 16.11 at r#1799688

> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> 
>
> Key: OFBIZ-9426
> URL: https://issues.apache.org/jira/browse/OFBIZ-9426
> Project: OFBiz
>  Issue Type: Bug
>  Components: cmssite, content
>Affects Versions: Release Branch 15.12, Release Branch 16.11
> Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
>Reporter: Daniel Coric
>Assignee: Deepak Dixit
> Fix For: 16.11.04
>
> Attachments: error.log
>
>
> Unable to delete "path alias" in the "content"-component.
> The Following Errors Occurred:
> The following required parameter is missing: [IN] 
> [removeWebSitePathAlias.fromDate].
> Steps to reproduce the error:
> Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> 
> Delete 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-9392) Refactor CatalinaContainer

2017-06-23 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-9392:
--

Hi [~taher],

wow, great work, thank you very much! Readability improved a lot!

I have read the code, run the tests and checked OFBiz works fine. I haven't 
checked the clustering functionality because I didn't have the time to setup a 
clustering environment to really test it. From the code, everything looks fine 
to me.

Thanks and regards,
Michael

Just one minor note: we currently set

{code:java}
context.setJ2EEServer("OFBiz Container 3.1");
{code}

I guess the "3.1" comes from ancient times and think we should remove it. It 
doesn't hurt because it seems only to be displayed in the JMX context but it 
looks strange.

+1 for committing it to the codebase.

> Refactor CatalinaContainer
> --
>
> Key: OFBIZ-9392
> URL: https://issues.apache.org/jira/browse/OFBIZ-9392
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>Priority: Minor
> Attachments: OFBIZ-9392.patch, OFBIZ-9392.patch, OFBIZ-9392.patch, 
> OFBIZ-9392.patch
>
>
> The implementation of CatalinaContainer.java is currently very verbose, has 
> replicated code, and is difficult to navigate.
> The objective of this JIRA is to breakup the logic into smaller manageable 
> functions to allow for further enhancements in the future.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OFBIZ-9428) getResultsSizeAfterPartialList() return wrong count with distinct() for View Entity

2017-06-23 Thread Renuka Srishti (JIRA)
Renuka Srishti created OFBIZ-9428:
-

 Summary: getResultsSizeAfterPartialList() return wrong count with 
distinct() for View Entity
 Key: OFBIZ-9428
 URL: https://issues.apache.org/jira/browse/OFBIZ-9428
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Trunk
Reporter: Renuka Srishti


Here is the code sample to test the issue
{code}
EntityListIterator productAssocListItr = null;
productAssocListItr = from("ProductAndAssoc").distinct().queryIterator();
productAssocListSize = productAssocListItr.getResultsSizeAfterPartialList();
{code}
productAssocListSize will differ from the actual distinct records in the 
ProductAndAssoc View Entity.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-4361) Any ecommerce user has the ability to reset anothers password (including admin) via "Forget Your Password"

2017-06-23 Thread JIRA

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

Tobias Laufkötter commented on OFBIZ-4361:
--

Independent from the actual process the technical side of the solution is still 
in question.
Although I like the idea of simplicity, I would rather go with a one-to-may 
relationship to the password reset information, as this would enable a tracking 
of the account reclamation attempts. The chosen entity would need 
* the userLoginId
* a fromDate for the starting point of the process
* a thruDate for the time of the token expriation (expires at the preset date 
e.g. 24h after creation or with the activation of the link)
* an indicator (Y/N) to show whether the password was changed by the time of 
the thruDate (set to N on creation, set to Y at successful password reset)
* a hash of the token that is used in the URL (hash algorithm? SHA521?

I'm not familiar enough with the WorkEffort entities and their originial 
intention to be able to judge whether they are the right tools to use. 
[~deepak.dixit], would you care to elaborate on your suggestion? If a password 
reset token should prove to be too far from the WorkEffort's (or other 
entities') concerns, maybe a new entity (e.g. TOKEN, SECURITY_TOKEN, 
PASSWORD_RESET_TOKEN) would be preferable. 

We should provide a default email that can be overriden by the 
ProductStoreEmailSetting.

> Any ecommerce user has the ability to reset anothers password (including 
> admin) via "Forget Your Password"
> --
>
> Key: OFBIZ-4361
> URL: https://issues.apache.org/jira/browse/OFBIZ-4361
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 11.04, Trunk
> Environment: Ubuntu and others
>Reporter: mz4wheeler
>Assignee: Michael Brohl
>  Labels: security
>
> Currently, any user (via ecommerce "Forget Your Password") has the ability to 
> reset another users password, including "admin" without permission.  By 
> simply entering "admin" and clicking "Email Password", the following is 
> displayed.
> The following occurred:
> A new password has been created and sent to you. Please check your Email.
> This now forces the user of the ERP to change their password.  It is also 
> possible to generate a dictionary attack against ofbiz because there is no 
> capta code required.  This is serious security risk.
> This feature could be reduced to a certain sub-set of users, whose login name 
> is optionally in the format of an email address, and maybe require a capta 
> code to prevent dictionary attacks.
> For example, limit the feature to role "Customer" of type "Person" which was 
> generated via an ecommerce transaction.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-9425) createShipment code logic error

2017-06-23 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-9425:


Hi Wai,

Please give more information in the description, thanks

> createShipment code logic error
> ---
>
> Key: OFBIZ-9425
> URL: https://issues.apache.org/jira/browse/OFBIZ-9425
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-9425.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)