[jira] [Commented] (OFBIZ-10351) Tree View of Call Graph for Services and Simple Methods

2021-03-01 Thread Danny Trunk (Jira)


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

Danny Trunk commented on OFBIZ-10351:
-

Parsing the service call stack wouldn't include service calls from java code. I 
think it's better for debugging purposes to have a solution at runtime. Maybe 
something we could turn on and off if you have a performance concern.

> Tree View of Call Graph for Services and Simple Methods
> ---
>
> Key: OFBIZ-10351
> URL: https://issues.apache.org/jira/browse/OFBIZ-10351
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Trunk
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-10351.patch, OFBIZ-10351.patch, OFBIZ-10351.patch, 
> OFBIZ-10351.patch, OFBIZ-10351.patch
>
>
> Option to log a tree view of services and simple methods, and events that are 
> called in a request. 
> Some discussion at 
> https://lists.apache.org/thread.html/079455a596056334265ecbd410b4de13b6e61e1449ac258af5e9679b@%3Cdev.ofbiz.apache.org%3E



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


[jira] [Commented] (OFBIZ-11328) Add JAX-RS capabilities (Jersey)

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11328:
-

Damned,  I again forgot to put the Jira number in the commit comment, here it 
is:

commit 3ade20a4f8f9b983584b2df92d61f61f69fba55f
Author: Jacques Le Roux 
AuthorDate: Mon Mar 1 11:23:48 2021 +0100

Improved: Add JAX-RS capabilities (Jersey)

The real name of ofbiz is OFBiz. This renames it in descriptions.
It also renames the webapp title from Ofbiz-rest-jersey to Rest-jersey.
We know it's in OFBiz.

> Add JAX-RS capabilities (Jersey) 
> -
>
> Key: OFBIZ-11328
> URL: https://issues.apache.org/jira/browse/OFBIZ-11328
> Project: OFBiz
>  Issue Type: New Feature
>  Components: ALL PLUGINS
>Affects Versions: Trunk
>Reporter: Girish Vasmatkar
>Assignee: Girish Vasmatkar
>Priority: Minor
> Attachments: OFBIZ-11328 Rest Jersey name.patch, Rest webapp 
> issue.patch, image-2020-01-29-19-24-52-312.png
>
>
> Add a new Jersey component leveraging JAX-RS. Also add capability to generate 
> swagger documentation.



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


[jira] [Commented] (OFBIZ-10426) When creating blog or forums, it failed to save

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-10426:
-

Hi Aman,

Any update?

> When creating blog or forums, it failed to save
> ---
>
> Key: OFBIZ-10426
> URL: https://issues.apache.org/jira/browse/OFBIZ-10426
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jason Hao
>Assignee: Aman Mishra
>Priority: Major
> Attachments: OFBIZ-10426-R17-Article.png, OFBIZ-10426-R17-Blog.png, 
> OFBIZ-10426-Working.png, blog-error.png
>
>
> Create a blog or forum and click save button, it will popup with error 
> message. The reason is because the mapKey passed from front end cannot be 
> handled by the service. The solution is not to pass the mapKey to the service.
> Steps:  
> 1) navigate to 
> https://demo-trunk.ofbiz.apache.org/content/control/blogContent?blogContentId=BLOGROOTBIGAL
> 2) create a new article  
> https://demo-trunk.ofbiz.apache.org/content/control/EditBlogArticle?blogContentId=BLOGROOTBIGAL
>  
> ERROR: Could not complete the Post a new Content article Entry 
> [file:/Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent|file:///Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent]
>  process [problem invoking the [createTextContent] service with the map named 
> [createText] containing 
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-01 
> 21:38:24.088(java.sql.Timestamp)][createdTxStamp,2018-06-01 
> 21:38:24.086(java.sql.Timestamp)][currentPassword,
> {SHA}
> 47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Shanghai(java.lang.String)][lastUpdatedStamp,2018-06-02
>  03:00:52.632(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-02 
> 03:00:52.632(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,0(java.lang.Long)][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>  textData=hello, dataTemplateTypeId=NONE, mapKey=MAIN, contentIdFrom=ASK, 
> description=hello, partyId=admin, locale=en_US, 
> dataResourceTypeId=ELECTRONIC_TEXT, contentName=hell world}]: Unknown 
> parameter found: [createTextContent.contentIdFrom]Unknown parameter found: 
> [createTextContent.mapKey]]
>  



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Error in deleting Financial Account (OFBIZ-12153)

1. Navigate to URL: accounting/control/FindFinAccount
2. Click on Find button. List of fin account will be displayed.
3. Click on delete button near available balance column.

Thanks: Lalit Dashora for report, Sourabh Jain for the fix


> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Error in deleting Financial Account (OFBIZ-12153)

1. Navigate to URL: accounting/control/FindFinAccount
2. Click on Find button. List of fin account will be displayed.
3. Click on delete button near available balance column.

Thanks: Lalit Dashora for report, Sourabh Jain for the fix


> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Error in deleting Financial Account (OFBIZ-12153)

1. Navigate to URL: accounting/control/FindFinAccount
2. Click on Find button. List of fin account will be displayed.
3. Click on delete button near available balance column.

Thanks: Lalit Dashora for report, Sourabh Jain for the fix


> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Assigned] (OFBIZ-12103) Unable to cancel item from ecommerce

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-12103:
---

Assignee: Pradeep Choudhary  (was: Jacques Le Roux)

> Unable to cancel item from ecommerce
> 
>
> Key: OFBIZ-12103
> URL: https://issues.apache.org/jira/browse/OFBIZ-12103
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: 17.12.03
>Reporter: Rashi Dhagat
>Assignee: Pradeep Choudhary
>Priority: Major
> Attachments: CancelItem.webm, OFBIZ-12103.patch, 
> Plugins_OFBIZ-12103.patch
>
>
> Steps to regenerate:
> 1. Open https://demo-stable.ofbiz.apache.org/ecommerce/control/main
> 2. Place an order with multiple items
> 3. Click on order history
> 4. Click on View 
> 5. Select an item
> 6. Choose the reason and click on cancel
> Actual: The order item is not canceled.
> Please refer the attachment.



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


[jira] [Commented] (OFBIZ-12103) Unable to cancel item from ecommerce

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12103:
-

I finally prefer to have all fixed in this Jira. Also because it complicates my 
commiting work with too much stash entries...

> Unable to cancel item from ecommerce
> 
>
> Key: OFBIZ-12103
> URL: https://issues.apache.org/jira/browse/OFBIZ-12103
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: 17.12.03
>Reporter: Rashi Dhagat
>Assignee: Pradeep Choudhary
>Priority: Major
> Attachments: CancelItem.webm, OFBIZ-12103.patch, 
> Plugins_OFBIZ-12103.patch
>
>
> Steps to regenerate:
> 1. Open https://demo-stable.ofbiz.apache.org/ecommerce/control/main
> 2. Place an order with multiple items
> 3. Click on order history
> 4. Click on View 
> 5. Select an item
> 6. Choose the reason and click on cancel
> Actual: The order item is not canceled.
> Please refer the attachment.



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


[jira] [Commented] (OFBIZ-10426) When creating blog or forums, it failed to save

2021-03-01 Thread Aman Mishra (Jira)


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

Aman Mishra commented on OFBIZ-10426:
-

Hello Jacques,

I am on it. I am trying to replicate the reported issue as per the details 
shared in your above comment.
I'll share the details soon.
Thanks!

> When creating blog or forums, it failed to save
> ---
>
> Key: OFBIZ-10426
> URL: https://issues.apache.org/jira/browse/OFBIZ-10426
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jason Hao
>Assignee: Aman Mishra
>Priority: Major
> Attachments: OFBIZ-10426-R17-Article.png, OFBIZ-10426-R17-Blog.png, 
> OFBIZ-10426-Working.png, blog-error.png
>
>
> Create a blog or forum and click save button, it will popup with error 
> message. The reason is because the mapKey passed from front end cannot be 
> handled by the service. The solution is not to pass the mapKey to the service.
> Steps:  
> 1) navigate to 
> https://demo-trunk.ofbiz.apache.org/content/control/blogContent?blogContentId=BLOGROOTBIGAL
> 2) create a new article  
> https://demo-trunk.ofbiz.apache.org/content/control/EditBlogArticle?blogContentId=BLOGROOTBIGAL
>  
> ERROR: Could not complete the Post a new Content article Entry 
> [file:/Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent|file:///Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent]
>  process [problem invoking the [createTextContent] service with the map named 
> [createText] containing 
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-01 
> 21:38:24.088(java.sql.Timestamp)][createdTxStamp,2018-06-01 
> 21:38:24.086(java.sql.Timestamp)][currentPassword,
> {SHA}
> 47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Shanghai(java.lang.String)][lastUpdatedStamp,2018-06-02
>  03:00:52.632(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-02 
> 03:00:52.632(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,0(java.lang.Long)][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>  textData=hello, dataTemplateTypeId=NONE, mapKey=MAIN, contentIdFrom=ASK, 
> description=hello, partyId=admin, locale=en_US, 
> dataResourceTypeId=ELECTRONIC_TEXT, contentName=hell world}]: Unknown 
> parameter found: [createTextContent.contentIdFrom]Unknown parameter found: 
> [createTextContent.mapKey]]
>  



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


[jira] [Updated] (OFBIZ-10426) When creating blog or forums, it failed to save

2021-03-01 Thread Aman Mishra (Jira)


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

Aman Mishra updated OFBIZ-10426:

Attachment: OFBIZ-10426-IssueRepl.png

> When creating blog or forums, it failed to save
> ---
>
> Key: OFBIZ-10426
> URL: https://issues.apache.org/jira/browse/OFBIZ-10426
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jason Hao
>Assignee: Aman Mishra
>Priority: Major
> Attachments: OFBIZ-10426-IssueRepl.png, OFBIZ-10426-R17-Article.png, 
> OFBIZ-10426-R17-Blog.png, OFBIZ-10426-Working.png, blog-error.png
>
>
> Create a blog or forum and click save button, it will popup with error 
> message. The reason is because the mapKey passed from front end cannot be 
> handled by the service. The solution is not to pass the mapKey to the service.
> Steps:  
> 1) navigate to 
> https://demo-trunk.ofbiz.apache.org/content/control/blogContent?blogContentId=BLOGROOTBIGAL
> 2) create a new article  
> https://demo-trunk.ofbiz.apache.org/content/control/EditBlogArticle?blogContentId=BLOGROOTBIGAL
>  
> ERROR: Could not complete the Post a new Content article Entry 
> [file:/Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent|file:///Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent]
>  process [problem invoking the [createTextContent] service with the map named 
> [createText] containing 
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-01 
> 21:38:24.088(java.sql.Timestamp)][createdTxStamp,2018-06-01 
> 21:38:24.086(java.sql.Timestamp)][currentPassword,
> {SHA}
> 47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Shanghai(java.lang.String)][lastUpdatedStamp,2018-06-02
>  03:00:52.632(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-02 
> 03:00:52.632(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,0(java.lang.Long)][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>  textData=hello, dataTemplateTypeId=NONE, mapKey=MAIN, contentIdFrom=ASK, 
> description=hello, partyId=admin, locale=en_US, 
> dataResourceTypeId=ELECTRONIC_TEXT, contentName=hell world}]: Unknown 
> parameter found: [createTextContent.contentIdFrom]Unknown parameter found: 
> [createTextContent.mapKey]]
>  



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


[jira] [Commented] (OFBIZ-10426) When creating blog or forums, it failed to save

2021-03-01 Thread Aman Mishra (Jira)


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

Aman Mishra commented on OFBIZ-10426:
-

Hello Jacques,

Thanks for the details and replication steps.
Successfully able to replicate the issue over R17 HEAD locally. Please refer:
 !OFBIZ-10426-IssueRepl.png! 

Now working on to find the root cause and fixes.

Thanks!

> When creating blog or forums, it failed to save
> ---
>
> Key: OFBIZ-10426
> URL: https://issues.apache.org/jira/browse/OFBIZ-10426
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce
>Affects Versions: Trunk
>Reporter: Jason Hao
>Assignee: Aman Mishra
>Priority: Major
> Attachments: OFBIZ-10426-IssueRepl.png, OFBIZ-10426-R17-Article.png, 
> OFBIZ-10426-R17-Blog.png, OFBIZ-10426-Working.png, blog-error.png
>
>
> Create a blog or forum and click save button, it will popup with error 
> message. The reason is because the mapKey passed from front end cannot be 
> handled by the service. The solution is not to pass the mapKey to the service.
> Steps:  
> 1) navigate to 
> https://demo-trunk.ofbiz.apache.org/content/control/blogContent?blogContentId=BLOGROOTBIGAL
> 2) create a new article  
> https://demo-trunk.ofbiz.apache.org/content/control/EditBlogArticle?blogContentId=BLOGROOTBIGAL
>  
> ERROR: Could not complete the Post a new Content article Entry 
> [file:/Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent|file:///Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent]
>  process [problem invoking the [createTextContent] service with the map named 
> [createText] containing 
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-01 
> 21:38:24.088(java.sql.Timestamp)][createdTxStamp,2018-06-01 
> 21:38:24.086(java.sql.Timestamp)][currentPassword,
> {SHA}
> 47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Shanghai(java.lang.String)][lastUpdatedStamp,2018-06-02
>  03:00:52.632(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-02 
> 03:00:52.632(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,0(java.lang.Long)][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>  textData=hello, dataTemplateTypeId=NONE, mapKey=MAIN, contentIdFrom=ASK, 
> description=hello, partyId=admin, locale=en_US, 
> dataResourceTypeId=ELECTRONIC_TEXT, contentName=hell world}]: Unknown 
> parameter found: [createTextContent.contentIdFrom]Unknown parameter found: 
> [createTextContent.mapKey]]
>  



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


[jira] [Updated] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Pawan Verma (Jira)


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

Pawan Verma updated OFBIZ-12153:

Attachment: OFBIZ-12153.patch

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Pawan Verma (Jira)


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

Pawan Verma commented on OFBIZ-12153:
-

[~jleroux] [~sourabh.jain]

I'm not fully convinced about the solution here. Delete service should delete a 
record or expire it. I'm attaching a quickly looked workaround. 
[^OFBIZ-12153.patch]

Expire was not working as the fromDate field was not part of PK for FinAccount 
Entity, and it was setting fromDate as nowTime() instead of thruDate.

So modified the check to only check thruDate field on the "expire" action.

Please let us know your views on this. 

 

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12153:
-

You are indeed right Pawan, we have actually a test integration issue: 
https://ci.apache.org/projects/ofbiz/logs/trunk/framework/html/
I'm trying your change locally...

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Pawan Verma (Jira)


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

Pawan Verma commented on OFBIZ-12153:
-

[~jleroux]

Could you please test it with this patch? [^OFBIZ-12153.patch]

I've updated the test as well. Thanks!

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Updated] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Pawan Verma (Jira)


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

Pawan Verma updated OFBIZ-12153:

Attachment: OFBIZ-12153.patch

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12153:
-

Hi Pawan,

I just tested and got 2 issues:
testEntityAutoExpireEntity
testGetInventoryAvailableByFacility (I believe it's false one)
I check again...

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12153) Error in deleting Financial Account

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12153:
-

I confirm the testEntityAutoExpireEntity issue

> Error in deleting Financial Account
> ---
>
> Key: OFBIZ-12153
> URL: https://issues.apache.org/jira/browse/OFBIZ-12153
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Lalit Dashora
>Assignee: sourabh jain
>Priority: Major
> Attachments: FinAccountDelete.png, OFBIZ-12153.patch, 
> OFBIZ-12153.patch, OFBIZ-12153.patch
>
>
> 1. Navigate to URL: accounting/control/FindFinAccount
> 2. Click on Find button. List of fin account will be displayed.
> 3. Click on delete button near available balance column.
> The Following Errors Occurred:
> Error doing entity-auto operation for entity FinAccount in service 
> deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: 
> org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting 
> the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)) (Exception while 
> deleting the following entity: 
> [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL 
> Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' 
> caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key 
> (SC_CHECKING). The statement has been rolled back.)))



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


[jira] [Commented] (OFBIZ-12154) Form widget "checkbox" do not persist selected value with multiple options checked

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12154:
-

Hi Nameet,

To test I finally reverted the commit 001ce6a6c456acd25f9e86e5d17ac8d6746f9a5c.

Revert "Improved: Status ID checkbox for Return, Requirement and Quote forms 
(OFBIZ-11935)"

Your solution does not work there. Could you please check the same?

 

> Form widget "checkbox" do not persist selected value with multiple options 
> checked
> --
>
> Key: OFBIZ-12154
> URL: https://issues.apache.org/jira/browse/OFBIZ-12154
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Priority: Major
> Attachments: OFBIZ-12154.patch
>
>
> I tried to use the form-widgets checkbox on my find screen. But when 
> searching values with multiple options checked, no checkbox appears to be 
> selected.
> I found similar kind of ticket OFBIZ-11933. 
> Seems the checkbox was replaced by a dropdown here. 
> I suggest fixing this bug at the framework level.



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


[jira] [Updated] (OFBIZ-11848) Upgrade Tomcat from 9.0.34 to 9.0.36 (CVE-2020-11996)

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-11848:

Parent: OFBIZ-1525
Issue Type: Sub-task  (was: Bug)

> Upgrade Tomcat from 9.0.34 to 9.0.36 (CVE-2020-11996)
> -
>
> Key: OFBIZ-11848
> URL: https://issues.apache.org/jira/browse/OFBIZ-11848
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: 18.12.01, 17.12.03, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Major
> Fix For: 18.12.01, Release Branch 17.12, Upcoming Branch
>
>
> CVE-2020-11996 Apache Tomcat HTTP/2 Denial of Service
> Severity: Important
> Vendor: The Apache Software Foundation
> Versions Affected:
> Apache Tomcat 10.0.0-M1 to 10.0.0-M5
> Apache Tomcat 9.0.0.M1 to 9.0.35
> Apache Tomcat 8.5.0 to 8.5.55
> Description:
> A specially crafted sequence of HTTP/2 requests could trigger high CPU
> usage for several seconds. If a sufficient number of such requests were
> made on concurrent HTTP/2 connections, the server could become unresponsive.
> Mitigation:
> - Upgrade to Apache Tomcat 10.0.0-M6 or later
> - Upgrade to Apache Tomcat 9.0.36 or later
> - Upgrade to Apache Tomcat 8.5.56 or later
> Credit:
> This issue was reported publicly via the Apache Tomcat Users mailing
> list without reference to the potential for DoS. The DoS risks were
> identified by the Apache Tomcat Security Team.
> References:
> [1] http://tomcat.apache.org/security-10.html
> [2] http://tomcat.apache.org/security-9.html
> [3] http://tomcat.apache.org/security-8.html



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-12165:

Parent: OFBIZ-1525
Issue Type: Sub-task  (was: Improvement)

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
> Servlet, JavaServer Pages, Java Unified Expression Language, Java
> WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
> changes compared to 9.0.41 include:
> - Add support for using Unix domain sockets for NIO when running on Java
>   16 or later.
> - Add a new StringInterpreter interface that allows applications to
>   provide customised string attribute value to type conversion within
>   JSPs. This allows applications to provide a conversion implementation
>   that is optimised for the application.
> - Add peerAddress to coyote request, which contains the IP address of
>   the direct connection peer. If a reverse proxy sits in front of Tomcat
>   and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>   differ from the remoteAddress. The remoteAddress is likely to contain
>   the address of the client in front of the reverse proxy, not the
>   address of the proxy itself.
> Please refer to the change log for the complete list of changes:
> [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>  



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12165:
--
Affects Version/s: Release Branch 18.12

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
> Servlet, JavaServer Pages, Java Unified Expression Language, Java
> WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
> changes compared to 9.0.41 include:
> - Add support for using Unix domain sockets for NIO when running on Java
>   16 or later.
> - Add a new StringInterpreter interface that allows applications to
>   provide customised string attribute value to type conversion within
>   JSPs. This allows applications to provide a conversion implementation
>   that is optimised for the application.
> - Add peerAddress to coyote request, which contains the IP address of
>   the direct connection peer. If a reverse proxy sits in front of Tomcat
>   and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>   differ from the remoteAddress. The remoteAddress is likely to contain
>   the address of the client in front of the reverse proxy, not the
>   address of the proxy itself.
> Please refer to the change log for the complete list of changes:
> [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>  



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


[jira] [Reopened] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl reopened OFBIZ-12165:
---

I think this should be backported to at least r18.12 because of the reported 
CVE reports, see 
[https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43] .

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
> Servlet, JavaServer Pages, Java Unified Expression Language, Java
> WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
> changes compared to 9.0.41 include:
> - Add support for using Unix domain sockets for NIO when running on Java
>   16 or later.
> - Add a new StringInterpreter interface that allows applications to
>   provide customised string attribute value to type conversion within
>   JSPs. This allows applications to provide a conversion implementation
>   that is optimised for the application.
> - Add peerAddress to coyote request, which contains the IP address of
>   the direct connection peer. If a reverse proxy sits in front of Tomcat
>   and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>   differ from the remoteAddress. The remoteAddress is likely to contain
>   the address of the client in front of the reverse proxy, not the
>   address of the proxy itself.
> Please refer to the change log for the complete list of changes:
> [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>  



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12165:
--
Labels: backport-needed  (was: )

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
> Servlet, JavaServer Pages, Java Unified Expression Language, Java
> WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
> changes compared to 9.0.41 include:
> - Add support for using Unix domain sockets for NIO when running on Java
>   16 or later.
> - Add a new StringInterpreter interface that allows applications to
>   provide customised string attribute value to type conversion within
>   JSPs. This allows applications to provide a conversion implementation
>   that is optimised for the application.
> - Add peerAddress to coyote request, which contains the IP address of
>   the direct connection peer. If a reverse proxy sits in front of Tomcat
>   and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>   differ from the remoteAddress. The remoteAddress is likely to contain
>   the address of the client in front of the reverse proxy, not the
>   address of the proxy itself.
> Please refer to the change log for the complete list of changes:
> [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>  



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


[jira] [Commented] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Upgrade Tomcat from 9.0.41 to 9.0.43 (OFBIZ-12165)

Fixes 2 security issues:

CVE-2021-25122 h2c request mix-up
Severity: Important

CVE-2021-25329 Incomplete fix for CVE-2020-9484 (RCE via session persistence)
Severity: Low


> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Commented] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Upgrade Tomcat from 9.0.41 to 9.0.43 (OFBIZ-12165)

Fixes 2 security issues:

CVE-2021-25122 h2c request mix-up
Severity: Important

CVE-2021-25329 Incomplete fix for CVE-2020-9484 (RCE via session persistence)
Severity: Low


> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12165:
--
Description: 
Needs backport because of the CVE reports: 
https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43

 

The Apache Tomcat team announces the immediate availability of Apache
 Tomcat 9.0.43.

Apache Tomcat 9 is an open source software implementation of the Java
 Servlet, JavaServer Pages, Java Unified Expression Language, Java
 WebSocket and JASPIC technologies.

Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
 changes compared to 9.0.41 include:
 - Add support for using Unix domain sockets for NIO when running on Java
 16 or later.

 - Add a new StringInterpreter interface that allows applications to
 provide customised string attribute value to type conversion within
 JSPs. This allows applications to provide a conversion implementation
 that is optimised for the application.

 - Add peerAddress to coyote request, which contains the IP address of
 the direct connection peer. If a reverse proxy sits in front of Tomcat
 and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
 differ from the remoteAddress. The remoteAddress is likely to contain
 the address of the client in front of the reverse proxy, not the
 address of the proxy itself.

Please refer to the change log for the complete list of changes:
 [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
  

  was:
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.43.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
changes compared to 9.0.41 include:

- Add support for using Unix domain sockets for NIO when running on Java
  16 or later.

- Add a new StringInterpreter interface that allows applications to
  provide customised string attribute value to type conversion within
  JSPs. This allows applications to provide a conversion implementation
  that is optimised for the application.

- Add peerAddress to coyote request, which contains the IP address of
  the direct connection peer. If a reverse proxy sits in front of Tomcat
  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
  differ from the remoteAddress. The remoteAddress is likely to contain
  the address of the client in front of the reverse proxy, not the
  address of the proxy itself.

Please refer to the change log for the complete list of changes:
[http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
 


> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Commented] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl commented on OFBIZ-12165:
---

Ah, crossed on wire, thanks Jacques!

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12165:
--
Fix Version/s: 17.12.06
   18.12.01

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: 18.12.01, Upcoming Branch, 17.12.06
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Closed] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl closed OFBIZ-12165.
-
Resolution: Fixed

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: 18.12.01, Upcoming Branch, 17.12.06
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12165:
--
Affects Version/s: 17.12.05

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Updated] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-12165:

Fix Version/s: (was: Upcoming Branch)

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: 18.12.01, 17.12.06
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Commented] (OFBIZ-12165) Upgrade Tomcat from 9.0.41 to 9.0.43

2021-03-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12165:
-

Yep :)

> Upgrade Tomcat from 9.0.41 to 9.0.43
> 
>
> Key: OFBIZ-12165
> URL: https://issues.apache.org/jira/browse/OFBIZ-12165
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>Reporter: Michael Brohl
>Assignee: Michael Brohl
>Priority: Minor
>  Labels: backport-needed
> Fix For: 18.12.01, 17.12.06
>
>
> Needs backport because of the CVE reports: 
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.43
>  
> The Apache Tomcat team announces the immediate availability of Apache
>  Tomcat 9.0.43.
> Apache Tomcat 9 is an open source software implementation of the Java
>  Servlet, JavaServer Pages, Java Unified Expression Language, Java
>  WebSocket and JASPIC technologies.
> Apache Tomcat 9.0.43 is a bugfix and feature release. The notable
>  changes compared to 9.0.41 include:
>  - Add support for using Unix domain sockets for NIO when running on Java
>  16 or later.
>  - Add a new StringInterpreter interface that allows applications to
>  provide customised string attribute value to type conversion within
>  JSPs. This allows applications to provide a conversion implementation
>  that is optimised for the application.
>  - Add peerAddress to coyote request, which contains the IP address of
>  the direct connection peer. If a reverse proxy sits in front of Tomcat
>  and the RemoteIp(Valve|Filter) is used, the peerAddress is likely to
>  differ from the remoteAddress. The remoteAddress is likely to contain
>  the address of the client in front of the reverse proxy, not the
>  address of the proxy itself.
> Please refer to the change log for the complete list of changes:
>  [http://tomcat.apache.org/tomcat-9.0-doc/changelog.html]
>   



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


[jira] [Updated] (OFBIZ-12154) Form widget "checkbox" do not persist selected value with multiple options checked

2021-03-01 Thread Nameet Jain (Jira)


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

Nameet Jain updated OFBIZ-12154:

Attachment: OFBIZ-12154.patch

> Form widget "checkbox" do not persist selected value with multiple options 
> checked
> --
>
> Key: OFBIZ-12154
> URL: https://issues.apache.org/jira/browse/OFBIZ-12154
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Priority: Major
> Attachments: OFBIZ-12154.patch, OFBIZ-12154.patch
>
>
> I tried to use the form-widgets checkbox on my find screen. But when 
> searching values with multiple options checked, no checkbox appears to be 
> selected.
> I found similar kind of ticket OFBIZ-11933. 
> Seems the checkbox was replaced by a dropdown here. 
> I suggest fixing this bug at the framework level.



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


[jira] [Commented] (OFBIZ-12154) Form widget "checkbox" do not persist selected value with multiple options checked

2021-03-01 Thread Nameet Jain (Jira)


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

Nameet Jain commented on OFBIZ-12154:
-

Hi [~jleroux] 

I got the reason, it was because of the all-checked attribute. The value of 
this attribute overrides the user selection.  

To my understanding, all-checked is the default option and should not be 
considered if any selection is made. An updated patch is attached.

Thanks

> Form widget "checkbox" do not persist selected value with multiple options 
> checked
> --
>
> Key: OFBIZ-12154
> URL: https://issues.apache.org/jira/browse/OFBIZ-12154
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Priority: Major
> Attachments: OFBIZ-12154.patch, OFBIZ-12154.patch
>
>
> I tried to use the form-widgets checkbox on my find screen. But when 
> searching values with multiple options checked, no checkbox appears to be 
> selected.
> I found similar kind of ticket OFBIZ-11933. 
> Seems the checkbox was replaced by a dropdown here. 
> I suggest fixing this bug at the framework level.



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


[jira] [Updated] (OFBIZ-12154) Form widget "checkbox" do not persist selected value with multiple options checked

2021-03-01 Thread Nameet Jain (Jira)


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

Nameet Jain updated OFBIZ-12154:

Attachment: (was: OFBIZ-12154.patch)

> Form widget "checkbox" do not persist selected value with multiple options 
> checked
> --
>
> Key: OFBIZ-12154
> URL: https://issues.apache.org/jira/browse/OFBIZ-12154
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Priority: Major
> Attachments: OFBIZ-12154.patch, OFBIZ-12154.patch
>
>
> I tried to use the form-widgets checkbox on my find screen. But when 
> searching values with multiple options checked, no checkbox appears to be 
> selected.
> I found similar kind of ticket OFBIZ-11933. 
> Seems the checkbox was replaced by a dropdown here. 
> I suggest fixing this bug at the framework level.



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


[jira] [Updated] (OFBIZ-12154) Form widget "checkbox" do not persist selected value with multiple options checked

2021-03-01 Thread Nameet Jain (Jira)


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

Nameet Jain updated OFBIZ-12154:

Attachment: OFBIZ-12154.patch

> Form widget "checkbox" do not persist selected value with multiple options 
> checked
> --
>
> Key: OFBIZ-12154
> URL: https://issues.apache.org/jira/browse/OFBIZ-12154
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Priority: Major
> Attachments: OFBIZ-12154.patch, OFBIZ-12154.patch
>
>
> I tried to use the form-widgets checkbox on my find screen. But when 
> searching values with multiple options checked, no checkbox appears to be 
> selected.
> I found similar kind of ticket OFBIZ-11933. 
> Seems the checkbox was replaced by a dropdown here. 
> I suggest fixing this bug at the framework level.



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


[jira] [Commented] (OFBIZ-12016) DiskFileItem as request attribute creates problems

2021-03-01 Thread Sebastian Berg (Jira)


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

Sebastian Berg commented on OFBIZ-12016:


Hi Jacques,

seems to be working now. I couldn't reproduce an error doing a request redirect.

> DiskFileItem as request attribute creates problems
> --
>
> Key: OFBIZ-12016
> URL: https://issues.apache.org/jira/browse/OFBIZ-12016
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: 18.12.01, Trunk
>Reporter: Sebastian Berg
>Priority: Major
>
> Hi,
> while working on a custom project based on the 18.12.01 version, I noticed a 
> problem with the request handling during a request-redirect-noparam if a 
> DiskFileItem was involved.
> So the situation for me is as follows: during the first request a file is 
> uploaded. I choose a wrong format on purpose, which results in an error 
> respond for that event. Nevertheless the DiskFileItem is set as request 
> attribute together with the error message.
> The request is finished and based on the controller configurations redirected 
> to a second request.
> While handling the second request the previous request's attributes get 
> restored (RequestHandler.java line 733ff). This goes down into 
> SafeObjectInfo.resolveClass() where an Incompatible class exception is 
> thrown. I compared my custom project with the current development status and 
> worked in the changes from commit 3f60efb343a11723aa56c1bc1f5afac3a2f26e9f in 
> OFBIZ-10837.
> While this fixes the issue with the incompatible class exception it also 
> makes it impossible to retrieve any attributes from the first request. 
> Therefore my error message cannot be shown.
> Is there a way to fix it or is it otherwise necessary to always set 
> "fileItems" as request attribute as added in -OFBIZ-11246-?



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