[jira] [Commented] (OFBIZ-6882) Extend the PostalAddress entity with additional elements

2018-03-29 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy commented on OFBIZ-6882:
---

Hi [~pfm.smits],

I am not suggesting we blindly follow Google, far from it. Nor am I suggesting 
Google's data model will do everything we want. Their model could be too big, 
unwieldy and overly complex. Or it might be too limited and not capture 
everything we want.

What I am saying is when we decide we want to incorporate an item in our own 
data model, we should try to name that item consistently with other 
organisations. To my mind, the Universal Postal Union names are more important 
than Google's, but they both have some relevance. UPU S42 is trying to set up 
standard templates for addresses for different countries. So while there is 
variation in the components and the ordering of those components within a 
postal address, the template for a country defines what the components are for 
a well-formed address. In general, we should be informed by standards like this 
and attempt to follow them. Inventing our own arbitrary names will lead to 
confusion and the danger we might need to rename them in future.

Specifically, street number and street name are common components of addresses 
in many places in the world. Because they are well known and widely used, we 
should choose names for these items with care.

Cheers

Paul Foxworthy

> Extend the PostalAddress entity with additional elements
> 
>
> Key: OFBIZ-6882
> URL: https://issues.apache.org/jira/browse/OFBIZ-6882
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>Priority: Major
>  Labels: 3rdParty, Shipment, integration
> Fix For: 16.11.01
>
> Attachments: OFBIZ-6882-party-PostalAddress.patch
>
>
> Various modern day 3rd party delivery solutions (e.g. PostNL in The 
> Netherlands) require that elements are delivered separately, so that 
> addresses can be checked more easily.
> Current definition of the PostalAddress doesn't have separation of:
> * street name
> * house number
> * house number addition or extension



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OFBIZ-10322) Add Asciidoc template for plugin creation task

2018-03-29 Thread Michael Brohl (JIRA)
Michael Brohl created OFBIZ-10322:
-

 Summary: Add Asciidoc template for plugin creation task
 Key: OFBIZ-10322
 URL: https://issues.apache.org/jira/browse/OFBIZ-10322
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Michael Brohl


Create a README.adoc stub and help file stub in the new format under 
framework/resources/templates and use in the plugin creation task.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Sharan Foga (JIRA)

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

Sharan Foga commented on OFBIZ-10259:
-

Hi [~allan.zarsuela], I think it sounds more like what people might call a job 
position. If you have an IT department you might have 1 manager job position 
and 4 programmer job positions. You can then fill those job positions with 
actual people. Hope this helps.

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
>  Labels: asciidoc, documentation, humanres
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Allan Zarsuela (JIRA)

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

Allan Zarsuela commented on OFBIZ-10259:


Hi Sharan,


I think I can further elaborate it. So the employee position is the some
sort of particular job title.

On Thu, Mar 29, 2018 at 12:44 PM, Sharan Foga (JIRA) 




-- 
Regards,

*Allan L. Zarsuela*
*Software Engineer*


> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
>  Labels: asciidoc, documentation, humanres
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OFBIZ-10321) Multi-level BOM (same raw MM in different level) MRP not supportive

2018-03-29 Thread Schumann Ye (JIRA)
Schumann Ye created OFBIZ-10321:
---

 Summary: Multi-level BOM (same raw MM in different level) MRP not 
supportive
 Key: OFBIZ-10321
 URL: https://issues.apache.org/jira/browse/OFBIZ-10321
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: 16.11.04, Release Branch 16.11
 Environment: OS: Windows Server 2008 R2

Database: MySQL 5.7

JDK: 1.8.0_131
Reporter: Schumann Ye


For MRP funciton in Manufacturing Manager, I intentionally created a BOM as 
follows:

Level 0:   Table (Qty 1, finished goods)

Level 1:   Wood (Qty 5, raw material)

Level 1:   Nails (Qty 20, raw material)

Level 1:   Varnish (Qty 1, raw material)

Level 1:   TableBoardCover (Qty 1, finished goods)

Level 2:   Wood (Qty 1, raw material)

I've done all routing tasks associated with routings and linked with products.

Everything is ok but when I run MRP, I get the following error messages:

 

Code below:

{code} 

Caused by: org.apache.ofbiz.entity.GenericDataSourceException: SQL Exception 
while executing the following:INSERT INTO MRP_EVENT (MRP_ID, PRODUCT_ID, 
EVENT_DATE, MRP_EVENT_TYPE_ID, FACILITY_ID, QUANTI

TY, EVENT_NAME, IS_LATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, 
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 
(Duplicate entry '10008-{color:#f79232}10010{color}-2018-03-29 16:03:39-MRP_R

EQUIREMENT' for key 'PRIMARY')

    at 
org.apache.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:434) 
~[ofbiz.jar:?]

    at 
org.apache.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:173) 
~[ofbiz.jar:?]

    at 
org.apache.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:115) 
~[ofbiz.jar:?]

    at 
org.apache.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65)
 ~[ofbiz.jar:?]

    at 
org.apache.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:883) 
~[ofbiz.jar:?]

    at org.apache.ofbiz.entity.GenericValue.create(GenericValue.java:73) 
~[ofbiz.jar:?]

    at 
org.apache.ofbiz.manufacturing.mrp.InventoryEventPlannedServices.createOrUpdateMrpEvent(InventoryEventPlannedServices.java:77)
 ~[ofbiz.jar:?]

    at 
org.apache.ofbiz.manufacturing.mrp.MrpServices.processBomComponent(MrpServices.java:568)
 ~[ofbiz.jar:?]

    at 
org.apache.ofbiz.manufacturing.mrp.MrpServices.executeMrp(MrpServices.java:799) 
~[ofbiz.jar:?]

    ... 14 more

Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '10008-{color:#f79232}10010{color}-2018-03-29 
16:03:39-MRP_REQUIREMENT' for key 'PRIMARY'

    at sun.reflect.GeneratedConstructorAccessor179.newInstance(Unknown 
Source) ~[?:?]

    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 ~[?:1.8.0_131]

    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
~[?:1.8.0_131]

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.Util.getInstance(Util.java:408) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2487) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079)
 ~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2013)
 ~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5104)
 ~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1998) 
~[mysql-connector-java-5.1.44-bin.jar:5.1.44]

    at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
 ~[commons-dbcp2-2.1.jar:2.1]

    at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
 ~[commons-dbcp2-2.1.jar:2.1]

    at 

[jira] [Updated] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Sharan Foga (JIRA)

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

Sharan Foga updated OFBIZ-10259:

Labels: asciidoc documentation humanres  (was: )

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
>  Labels: asciidoc, documentation, humanres
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Sharan Foga (JIRA)

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

Sharan Foga edited comment on OFBIZ-10259 at 3/29/18 8:48 AM:
--

Thanks [~allan.zarsuela]. I've taken a look and think that you could take some 
details from the [^HELP_HR_FindEmplPositions.adoc] It includes a more detailed 
description but also some information about how it is used.


was (Author: sharan ):
Thanks [~allan.zarsuela] I'll take a look.

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Sharan Foga (JIRA)

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

Sharan Foga commented on OFBIZ-10259:
-

Thanks [~allan.zarsuela] I'll take a look.

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Allan Zarsuela (JIRA)

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

Allan Zarsuela commented on OFBIZ-10259:


I made some changes regarding hr-employee-positions.adoc. Please check. Should 
I define more?

 

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Allan Zarsuela (JIRA)

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

Allan Zarsuela updated OFBIZ-10259:
---
Attachment: hr-employee-positions.adoc

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc, 
> hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10301) loadCartFromOrder changes order date even when updating order items

2018-03-29 Thread Rishi Solanki (JIRA)

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

Rishi Solanki updated OFBIZ-10301:
--
Fix Version/s: Release Branch 16.11

> loadCartFromOrder changes order date even when updating order items
> ---
>
> Key: OFBIZ-10301
> URL: https://issues.apache.org/jira/browse/OFBIZ-10301
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Rishi Solanki
>Priority: Major
> Fix For: Trunk, Release Branch 16.11, Upcoming Branch
>
> Attachments: OFBIZ-10301.patch
>
>
> It should only set orderDate as nowTimeStamp only if createAsNewOrder flag is 
> true other wise it should set orderDate from existing orderHeader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


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

2018-03-29 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-9240:


Thanks Garima, I did not at all but as soon as I'll get a chance I'll look at it

> 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
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 16.11.04
>
> Attachments: OFBIZ-9240.patch, backend.png, ecomseo.png
>
>
> 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://demo-trunk.ofbiz.apache.org/ecomseo/ or 
> https://demo-stable.ofbiz.apache.org/ecomseo/
> # login => main page logged in
> # logout => main page, not logged in
> # login => main page logged in
> # Use the "Not you" link => 404
> # Refresh (F5 key)  get you to the main page, not logged in
> So it works almost correctly but you need a refresh (F5 key) for the "Not 
> you" link, not sure why yet.
> 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
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10320) A potential bug in Email ForgotPassword Notification

2018-03-29 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-10320:

Description: 
Work Steps:
 # In the login page: [https://www.myowndomain.com/webtools/control/main], then 
click login, then click "forget your passwords".
 # Then fill in the User Name that I have already created before, which is 
associated with a primary email address.
 # Then click "continue" and then hit "email password";
 # As I have set the fields correctly in the file general.properties and also 
in database table ofbiz.system_property, I receive a system email telling me to 
"click here to reset password" with a link.

Then click the link and following the instructions to fill in the new passwords 
and then the following error messages pop up. Generally speaking, the error is 
about java.lang.NullPointerException.

(BTW, I tried it a couple of times with different locales like en and zh_CN but 
all failed.)

 

Here below I highlighted somethings strange, where I have added some debugging 
texts (in yellow background) to see what's going on.

Obviously, in my debugging text Tag ---801--- the keyValue is missing (null).

Maybe that's why it throws a java.lang.NullPointerException.

 

However, when I compare the codes (where it concerns) of EntityCrypto.java and 
LoginWorker.java between 11.04 and 11.03, {color:#f79232}I could not find the 
difference So I do NOT understand why it works in my 11.03 but not 11.04.{color}

 

 
{code}
2018-03-28 10:00:59,870 |http-nio-443-exec-4  |ServerHitBin  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2018-03-28 10:00:59,878 |http-nio-443-exec-4  |ControlServlet    
|T| [[[forgotPassword_step2(Domain:https://www.myowndomain.com)] Request Done- 
total:0.146,since last([forgotPassword_s...):0.146]]

2018-03-28 10:01:02,961 |http-nio-443-exec-1  |ControlServlet    
|T| [[[forgotPassword_step3(Domain:https://www.myowndomain.com)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]

{color:#f79232}2018-03-28 10:01:02,988 |http-nio-443-exec-1  |EntityCrypto  
    |I| ---804---originalKeyName---is---loginSecretKeyString{color}

{color:#f79232}2018-03-28 10:01:02,988 |http-nio-443-exec-1  |EntityCrypto  
    |I| ---805---originalKeyName---is---loginSecretKeyString{color}

{color:#f79232}2018-03-28 10:01:02,988 |http-nio-443-exec-1  |EntityCrypto  
    |I| 
[---806---hashRequest---is---org.apache.shiro.crypto.hash.SimpleHashRequest@327dc55e|mailto:---806---hashRequest---is---org.apache.shiro.crypto.hash.SimpleHashRequest@327dc55e]{color}

2018-03-28 10:01:03,066 |http-nio-443-exec-1  |ServiceDispatcher 
|I| Service auth failed for userLoginId [MyCreatedUser] because UserLogin 
record currentPassword fields did not match; note that the UserLogin object 
passed into a service may need to have the currentPassword encrypted.

2018-03-28 10:01:03,067 |http-nio-443-exec-1  |ServiceDispatcher 
|T| Sync service [order/getUserPreferenceGroup] finished in [2] milliseconds

2018-03-28 10:01:03,076 |http-nio-443-exec-1  |ScreenFactory 
|I| Got 1 screens in 0.009s from: 
file:/D:/apache-ofbiz-16.11.04/applications/securityext/widget/EmailSecurityScreens.xml

2018-03-28 10:01:03,137 |http-nio-443-exec-1  |UtilProperties    
|I| ResourceBundle EmailPasswordUiLabels (en) created in 0.061s with 6 
properties

2018-03-28 10:01:03,217 |http-nio-443-exec-1  |UtilProperties    
|I| ResourceBundle SecurityUiLabels (en) created in 0.08s with 58 properties

2018-03-28 10:01:03,238 |http-nio-443-exec-1  |EmailServices 
|I| Expanded email subject to: New Password Sent (MyCreatedUser)

2018-03-28 10:01:07,710 |http-nio-443-exec-1  |ServiceDispatcher 
|T| Sync service [order/sendMailHiddenInLog] finished in [4471] milliseconds

2018-03-28 10:01:07,711 |http-nio-443-exec-1  |ServiceDispatcher 
|T| Sync service [order/sendMailHiddenInLogFromScreen] finished in [4678] 
milliseconds

2018-03-28 10:01:07,722 |http-nio-443-exec-1  |RequestHandler    
|I| Ran Event 
[java:org.apache.ofbiz.securityext.login.LoginEvents#forgotPassword] from 
[request], result is [success]

2018-03-28 10:01:07,738 |http-nio-443-exec-1  |ConfigXMLReader   
|I| controller loaded: 0.001s, 16 requests, 14 views in 
file:/D:/apache-ofbiz-16.11.04/specialpurpose/birt/webapp/ordermgr/WEB-INF/controller.xml

2018-03-28 10:01:07,763 |http-nio-443-exec-1  |ConfigXMLReader   
|I| controller loaded: 0.006s, 367 requests, 147 views in 
file:/D:/apache-ofbiz-16.11.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml

2018-03-28 10:01:07,794 |http-nio-443-exec-1  |ConfigXMLReader   
|I| controller loaded: 0.001s, 45 requests, 22 views in 

[jira] [Assigned] (OFBIZ-10259) Add Document Content: hr-employee-positions.adoc

2018-03-29 Thread Allan Zarsuela (JIRA)

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

Allan Zarsuela reassigned OFBIZ-10259:
--

Assignee: Allan Zarsuela

> Add Document Content: hr-employee-positions.adoc
> 
>
> Key: OFBIZ-10259
> URL: https://issues.apache.org/jira/browse/OFBIZ-10259
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Sharan Foga
>Assignee: Allan Zarsuela
>Priority: Minor
> Attachments: HELP_HR_EditEmplPosition.adoc, 
> HELP_HR_EmplPositionView.adoc, HELP_HR_FindEmplPositions.adoc, 
> HELP_HR_ListEmplPositions.adoc, hr-employee-positions.adoc
>
>
> Using details from the OFBiz wiki workspaces and the Human Resources Guide 
> and other human resources asciidoc file,  write or organise the content for 
> the hr-employee-positions.adoc file.
> A copy of the existing file will be attached. Please write document content 
> for hr-employee-positions.adoc by updating the template then re-attach the 
> updated document to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)