[jira] [Closed] (OFBIZ-13128) Add permission check for ProgramExport and EntitySQLProcessor

2024-07-31 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-13128.
---
Resolution: Implemented

> Add permission check for ProgramExport and EntitySQLProcessor
> -
>
> Key: OFBIZ-13128
> URL: https://issues.apache.org/jira/browse/OFBIZ-13128
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webtools
>Affects Versions: 18.12.14
>Reporter: Jacques Le Roux
>Priority: Minor
> Fix For: 18.12.14
>
>
> If user does not have permission don't execute the groovy file



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OFBIZ-13128) Add permission check for ProgramExport and EntitySQLProcessor

2024-07-31 Thread Jacques Le Roux (Jira)
Jacques Le Roux created OFBIZ-13128:
---

 Summary: Add permission check for ProgramExport and 
EntitySQLProcessor
 Key: OFBIZ-13128
 URL: https://issues.apache.org/jira/browse/OFBIZ-13128
 Project: OFBiz
  Issue Type: Improvement
  Components: framework/webtools
Affects Versions: 18.12.14
Reporter: Jacques Le Roux
 Fix For: 18.12.14


If user does not have permission don't execute the groovy file



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-31 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Hi,

It's about trunk HEAD. There
applications/order/src/main/groovy/org/apache/ofbiz/order/requirement/RequirementServicesScript.groovy
is present:
https://github.com/apache/ofbiz-framework/blob/1426f2c4236e8ebdece8efaa8be6e4b7c648b056/applications/order/src/main/groovy/org/apache/ofbiz/order/requirement/RequirementServicesScript.groovy

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-31 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

the script references 
applications/order/src/main/groovy/org/apache/ofbiz/order/requirement/ that I 
don't have!
in my directory and under 'applications/order/src/main' I have only a 'java' 
directory.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-12828) Persist OrderItemAttributes of ShoppingCartItem in new entity ShoppingListItemAttributes along with persisted ShoppingCart (autoSaveList)

2024-07-30 Thread Danny Trunk (Jira)


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

Danny Trunk edited comment on OFBIZ-12828 at 7/30/24 11:25 AM:
---

There's logic missing in service `loadCartFromShoppingList` to restore the 
attributes

Also, there needs to be a way to distinguish between CartItemAttribute and 
OrderItemAttribute to restore and probably also a data type to cast the value 
back to its original data type.


was (Author: dtrunk90):
There's logic missing in service `loadCartFromShoppingList` to restore the 
attributes

> Persist OrderItemAttributes of ShoppingCartItem in new entity 
> ShoppingListItemAttributes along with persisted ShoppingCart (autoSaveList)
> -
>
> Key: OFBIZ-12828
> URL: https://issues.apache.org/jira/browse/OFBIZ-12828
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Pascal Zoschke
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> Currently, the information about the attributes of the order item is not 
> saved and therefore cannot be retrieved later in the shopping cart 
> (autoSaveList).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12828) Persist OrderItemAttributes of ShoppingCartItem in new entity ShoppingListItemAttributes along with persisted ShoppingCart (autoSaveList)

2024-07-30 Thread Danny Trunk (Jira)


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

Danny Trunk commented on OFBIZ-12828:
-

There's logic missing in service `loadCartFromShoppingList` to restore the 
attributes

> Persist OrderItemAttributes of ShoppingCartItem in new entity 
> ShoppingListItemAttributes along with persisted ShoppingCart (autoSaveList)
> -
>
> Key: OFBIZ-12828
> URL: https://issues.apache.org/jira/browse/OFBIZ-12828
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Pascal Zoschke
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> Currently, the information about the attributes of the order item is not 
> saved and therefore cannot be retrieved later in the shopping cart 
> (autoSaveList).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-28 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Hi,

Yes, it's a git patch. Simply use at OFBiz framework root:
{code:java}
git apply OFBIZ-12745-revert.patch
{code}

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-28 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

would you please give a hint on patch applying? I spent some time using the 
following but it fails.

 

emadradwan@MacBook-Pro apache-ofbiz-18.12.13 % patch -p1 < 
~/requirement_services_patch1.diff

 

patching file 'applications/order/minilang/requirement/RequirementServices.xml'
patch:  malformed patch at line 9: 
http://ofbiz.apache.org/dtds/simple-methods.xsd;>

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

You were right to insist. I'm not sure yet but it seems that OFBIZ-12745 commit 
must be reverted too. At least by reverting it I was able to run again the 
MRPTable that has been created, with its data, 2 weeks ago (see above). It was 
not working else:
!Image 021.png! 
Here is the patch:
[^OFBIZ-12745-revert.patch]

Please confirm that after after applying the patch you are able to run MRPs 
with data created some times ago. This is for trunk only.

If it's OK, we will need to consider finally what to do. Either keeping the 
workaround situation or correctly fixing OFBIZ-12745 and OFBIZ-10395. This 
should be discussed in dev ML.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Reopened] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reopened OFBIZ-13122:
-

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-13122:

Attachment: OFBIZ-12745-revert.patch

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, 
> OFBIZ-12745-revert.patch, Screenshot 2024-07-22 at 8.41.00 PM-1.png, 
> Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 8.43.27 
> PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 8.49.52 PM (2).png, Screenshot 
> 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-13122:

Attachment: Image 021.png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Image 021.png, Screenshot 
> 2024-07-22 at 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, 
> Screenshot 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 
> PM.png, Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 
> at 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

I did not try there, but I believe it will work. Remember that the data on demo 
are renewed each day around 3 UTC. So you have to create again a new MRP each 
day.

Because we now use Docker on demo I don't know how to keep a copy of the Derby 
DB. A very practical thing that I can easily do locally.


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Emad Radwan (Jira)


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

Emad Radwan edited comment on OFBIZ-13122 at 7/27/24 9:11 AM:
--

Do you mean that if do the tutorial on the stable demo version - forget about 
my installation for now - that it'll work? I want to see it working anywhere.


was (Author: JIRAUSER304787):
Do you mean that if do the tutorial on the stable demo version - forget about 
my installation for now - that it'll work?

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

Do you mean that if do the tutorial on the stable demo version - forget about 
my installation for now - that it'll work?

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Do you strictly follow Sharan's tuto for creating your MRP? I did and it worked 
for me locally on both trunk and 18.12 (using the same Derby DB for both). Then 
running it was not a problem.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

for the second point, we're not talking about an existing MRP, I always try 
with a new one as I didn't ever reach the stage of having an MRP because it 
fails while creating it!

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12187) Error while running MRP

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12187:
-

Just had a look to the patch, it should not related to this issue. Then, it 
must be all times.

> Error while running MRP
> ---
>
> Key: OFBIZ-12187
> URL: https://issues.apache.org/jira/browse/OFBIZ-12187
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 17.12.06, 18.12.01
>
> Attachments: OFBIZ-12187.patch
>
>
> I tried running MRP for Sales Forecast option and it returned the following 
> error.
> {code:java}
> Error running the initMrpEvents service: Service [initMrpEvents] target threw 
> an unexpected exception (java.sql.Timestamp cannot be cast to 
> java.sql.Date){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12187) Error while running MRP

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12187:
-

I noticed something that could be related to OFBIZ-12187. that has no impact on 
the MRP run but is not totally clean.

Normally when a PersistedServiceJob is run you get something like

{noformat}
2024-07-22 19:02:52,378 |OFBiz-JobQueue-1 |PersistedServiceJob   
|I| Job  [Send Email] Id [16405] 
-- Next runtime: Mon Jul 22 19:17:52 CEST 2024
2024-07-22 19:02:52,378 |OFBiz-JobQueue-0 |PersistedServiceJob   
|I| Job  [Send Email] Id [16404] 
-- Next runtime: Mon Jul 22 19:17:52 CEST 2024
{noformat}

So you have somethink like this:
bq. Next runtime: Mon Jul 22 19:17:52 CEST 2024

But when you run a MPR you get:
{noformat}
2024-07-22 19:11:50,312 |jsse-nio-8443-exec-3 |ControlServlet
|T| 
[[[runMrpGo(Domain:https://localhost)] Request Done- total:0.398,since 
last([runMrpGo(Domain:...):0.398]]
2024-07-22 19:11:52,481 |OFBiz-JobQueue-0 |PersistedServiceJob   
|I| Job  [1721668310012] Id [16532] 
-- Next runtime: Thu Jan 01 00:59:59 CET 1970
2024-07-22 19:11:52,514 |OFBiz-JobQueue-0 |MrpServices   
|I| executeMrp called
{noformat}

Note the
bq. -- Next runtime: Thu Jan 01 00:59:59 CET 1970

It has no impact on the MRP run beause there is no next job run. It's an only 
one job run. But that's a wrong information in log.

I'll see if we can make a workaround that by checking if we have a "Sales 
Forecast option", not a big deal anyway.





> Error while running MRP
> ---
>
> Key: OFBIZ-12187
> URL: https://issues.apache.org/jira/browse/OFBIZ-12187
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 17.12.06, 18.12.01
>
> Attachments: OFBIZ-12187.patch
>
>
> I tried running MRP for Sales Forecast option and it returned the following 
> error.
> {code:java}
> Error running the initMrpEvents service: Service [initMrpEvents] target threw 
> an unexpected exception (java.sql.Timestamp cannot be cast to 
> java.sql.Date){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-27 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

{quote}In the other thread by Yannong in 2022 he mentioned that by trying to 
run MRP he first got an authentication error and when he set the security flag 
for the function false it did worked with him without getting the serialization 
error for the 'facilityId' but when I tried the same on my local installation - 
with tutorial data entered - I got the serialization error.
{quote}
Yes, as I already said, the Yannong's situation and yours should not be 
compared because there have been changes since then. Not specifically related 
to MRP but that can have an impact on authentication (security changes).
{quote}I had to recreate the local docker image after that for several reasons 
and I used to text this functionality with new updates from you - like changing 
JDK - without re-entering the data as I didn't link that having enough 
configuration data is essential to avoid getting such error.
{quote}
Yes indeed, if you reuse a MRP defined with previous created products but these 
products are no longer in the DB then you can't expect the MRP to run and that 
would explain why we get a serialization error.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2024-07-26 Thread Ioan Eugen Stan (Jira)


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

Ioan Eugen Stan commented on OFBIZ-12401:
-

[~nmalin] : thanks for looking into this and congrats on the progress so far. 

I would prioritize splitting OFBiz into libraries 
[https://github.com/apache/ofbiz-framework/pull/678] , 
https://issues.apache.org/jira/browse/OFBIZ-12308 .

Configuration handling is spread across some classes and made splitting not 
that easy because of it.

Having libraries will force interfaces and configuration handling to be 
explicit.

Regarding ofbiz-component.xml - there is a lot to unpack there IMO.  

That part is mixed with project building.

Making components libraries (see OFBIZ-12308 again) will kind of get rid of 
this part / make it less important.

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-26 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

In the other thread by Yannong in 2022 he mentioned that by trying to run MRP 
he first got an authentication error and when he set the security flag for the 
function false it did worked with him without getting the serialization error 
for the 'facilityId' but when I tried the same on my local installation - with 
tutorial data entered - I got the serialization error. I had to recreate the 
local docker image after that for several reasons and I used to text this 
functionality with new updates from you - like changing JDK - without 
re-entering the data as I didn't link that having enough configuration data is 
essential to avoid getting such error.

 

I also went through the code 'executeMrp' and I don't think it does anything 
with the parameters passed - including facilityId - before raising the 
serialization error.

 

Regards,

Emad

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Sorry, I'm not sure to understand your question. I don't see the relation with 
authentication and data in DB. 
Once the data are in the DB, any user with sufficient permissions can use these 
data. Also I'm not sure what you mean by 
bq. bypassed the authentication

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13117) Allow direct view rendering in override view functionality

2024-07-26 Thread ASF subversion and git services (Jira)


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

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

Commit 2a66c132007178365a89be60e005b30f0e03de6e in ofbiz-site's branch 
refs/heads/master from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-site.git;h=2a66c13 ]

Improved: revert last DTDs updates for OFBIZ-13117


> Allow direct view rendering in override view functionality
> --
>
> Key: OFBIZ-13117
> URL: https://issues.apache.org/jira/browse/OFBIZ-13117
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: 18.12.14
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Major
> Fix For: Upcoming Branch, 18.12.15
>
>
> {color:#00}Enhance the override view functionality by adding a feature to 
> permit direct rendering of views{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-26 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

I entered the tutorial data in the first time I reported the error and
after I bypassed the authentication. What difference does this make?

On Fri, Jul 26, 2024 at 12:11 PM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

If you had said that intially it would have been much simpler.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-26 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

I didn't enter the tutorial data, I just wanted to see the default
behaviour. I assume the system would reply with a suitable error message if
no enough data to work with not to fail with an error!

Regards,
Emad

On Thu, Jul 25, 2024 at 8:21 PM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-13125) Allow to define a view link condition when creating a DynamicView

2024-07-26 Thread Mekika Leila (Jira)


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

Mekika Leila reassigned OFBIZ-13125:


Assignee: Mekika Leila

> Allow to define a view link condition when creating a DynamicView
> -
>
> Key: OFBIZ-13125
> URL: https://issues.apache.org/jira/browse/OFBIZ-13125
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Reporter: Mekika Leila
>Assignee: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13125.patch
>
>
> The goal of this jira is to allow the creation of a dynamic view with an 
> entity-condition only view-link.
> Currently, it is not possible to link two members entities from a dve with a 
> condition different from a key map 'ALIAS1.field1 == ALIAS2.field2'
> ( addViewLink method only )
> As it has been done for xml view-entities 
> (https://issues.apache.org/jira/browse/OFBIZ-11179), I propose to add the 
> possbility to use the ViewEntityCondition definition when creating a 
> DynamicView
> I tried to stay as close as possible as the current EntityCondition writing 
> but don't hesitate if you see a any way to simplify it. 
> I attached a file to illustrate the purpose of this feature



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-13127) Correction of form display when there are grid and forms combination within a same xml file

2024-07-26 Thread Mekika Leila (Jira)


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

Mekika Leila reassigned OFBIZ-13127:


Assignee: Mekika Leila

> Correction of form display when there are grid and forms combination within a 
> same xml file
> ---
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Mekika Leila
>Assignee: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be 
> several cases that can provoke a bad display of a form due to mixed type 
> combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently 
> deterioring display of existing screens.
> ( for instance in the current screen: 
> https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends 
> the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in 
> sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not 
> display any informations anymore)
> But for the first case that is more corresponding to a real bug, for 
> compatibility purpose I propose to fix it by adding a check both in 
> ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull 
> request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13127) Correction of form display when there are grid and forms combination within a same xml file

2024-07-26 Thread Mekika Leila (Jira)


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

Mekika Leila commented on OFBIZ-13127:
--

Thanks Jacques for the review

> Correction of form display when there are grid and forms combination within a 
> same xml file
> ---
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Mekika Leila
>Assignee: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be 
> several cases that can provoke a bad display of a form due to mixed type 
> combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently 
> deterioring display of existing screens.
> ( for instance in the current screen: 
> https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends 
> the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in 
> sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not 
> display any informations anymore)
> But for the first case that is more corresponding to a real bug, for 
> compatibility purpose I propose to fix it by adding a check both in 
> ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull 
> request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-13122 at 7/25/24 5:22 PM:
--

It's though weird that one failed and the other succeded with an interval of 3 
mins. Also that would mean that you created the data relying your raw products 
to another facility than the one suggested by Sharan's tuto?

I looked at 
https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/Product but 
could not find any nail, wood or varnish products. How do you named your raw 
products? In this circumstance, too bad that the DB content is renewed every 
night :/


was (Author: jacques.le.roux):
It's though weird that one failed and the other succeded with an interval of 3 
mins. Also that would mean that you created the data relying your raw products 
to another facility than the one suggested by Sharan's tuto?

I looked at 
https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/Product but 
could not find any nail, wood or varnish products. How do you named your raw 
product? In this circumstance, too bad that the DB content is renewed every 
night :/

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-13122 at 7/25/24 5:19 PM:
--

It's though weird that one failed and the other succeded with an interval of 3 
mins. Also that would mean that you created the data relying your raw products 
to another facility than the one suggested by Sharan's tuto?

I looked at 
https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/Product but 
could not find any nail, wood or varnish products. How do you named your raw 
product? In this circumstance, too bad that the DB content is renewed every 
night :/


was (Author: jacques.le.roux):
It's though that one failed and the other succeded with an interval of 3 mins. 
Also that would mean that you created the data relying your raw products to 
another facility than the one suggested by Sharan's tuto?

I looked at 
https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/Product but 
could not find any nail, wood or varnish products. How do you named your raw 
product? In this circumstance, too bad that the DB content is renewed every 
night :/

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

It's though that one failed and the other succeded with an interval of 3 mins. 
Also that would mean that you created the data relying your raw products to 
another facility than the one suggested by Sharan's tuto?

I looked at 
https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/Product but 
could not find any nail, wood or varnish products. How do you named your raw 
product? In this circumstance, too bad that the DB content is renewed every 
night :/

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

I believe you used another facility at some point (maybe only one error) when 
creating the data following Sharan's tuto. That can be checked in the data as 
Omar suggested at 
[https://lists.apache.org/thread/dnwsy7xwqh0gjbg3311269d1o1t8yhv6]
That would explain why picking the "right" facility and showing it in browser 
was not enough.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (OFBIZ-12858) Remove old unused fields from entity

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-12858.
---
Fix Version/s: Upcoming Branch
   Resolution: Done

> Remove old unused fields from entity
> 
>
> Key: OFBIZ-12858
> URL: https://issues.apache.org/jira/browse/OFBIZ-12858
> Project: OFBiz
>  Issue Type: Task
>Affects Versions: Upcoming Branch
>Reporter: Deepak Dixit
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> There are some unused old fields (deprecated) exists,
>  * oldPickStartDate
>  * oldMaritalStatus
>  * oldSquareFootage
>  * oldInvoiceSequenceEnumId
>  * oldOrderSequenceEnumId
>  * oldQuoteSequenceEnumId



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-12858) Remove old unused fields from entity

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-12858:
---

Assignee: Jacques Le Roux

> Remove old unused fields from entity
> 
>
> Key: OFBIZ-12858
> URL: https://issues.apache.org/jira/browse/OFBIZ-12858
> Project: OFBiz
>  Issue Type: Task
>Affects Versions: Upcoming Branch
>Reporter: Deepak Dixit
>Assignee: Jacques Le Roux
>Priority: Minor
>
> There are some unused old fields (deprecated) exists,
>  * oldPickStartDate
>  * oldMaritalStatus
>  * oldSquareFootage
>  * oldInvoiceSequenceEnumId
>  * oldOrderSequenceEnumId
>  * oldQuoteSequenceEnumId



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

something new I noticed while trying on 
[https://demo-trunk.ofbiz.apache.org/manufacturing/control/FindInventoryEventPlan]
 that when I tried with another facilityId it worked! but couldn't repeat that 
on my local version.

  !Screenshot 2024-07-25 at 5.32.13 PM (2).png! 

 

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Emad Radwan (Jira)


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

Emad Radwan updated OFBIZ-13122:

Attachment: Screenshot 2024-07-25 at 5.32.13 PM (2).png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png, Screenshot 2024-07-25 at 5.32.13 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

The last try was with a fresh installation that I have Docker based where I
only changed the JDK version on the dockerfile and I believe the only
relevant piece of info is the facilityId which was 'WebStoreWarehouse'

Regards,
Emad

On Thu, Jul 25, 2024 at 9:51 AM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-13122 at 7/25/24 6:51 AM:
--

I doubted it was a JDK issue, both 8 and 11 reject a data. 

So we now know for sure that there is a problem with data at some point. Else 
java.io.ObjectInputStream would not reject at least one before anything else is 
reported by the log. 

I see 2 possibilities. 
* Maybe you could extract the data you use locally? I'd try with them locally 
or on demo (trunk or 18.12 alike reject as we saw). 
* When I'll get a chance I'll try to follow Sharan's tuto locally on Ubuntu 
20.04, to be able, if it works to try to extract the related data.

Also in Nov. 2022, Yannong said:
bq. I set auth="false" for  in 
service_mrp.xml to make it "work"
when it did not work for you recently. It seems the version he used then 
allowed that. That could be a track to follow...



was (Author: jacques.le.roux):
I doubted it was a JDK issue, both 8 and 11 reject a data. 

So we now know for sure that there is a problem with data at some point. Else 
java.io.ObjectInputStream would not reject at least one before anything else is 
reported by the log. 

I see 2 possibilities. Maybe you could extract the data you use locally? I'd 
try with them locally or on demo (trunk or 18.12 alike reject as we saw). 

When I'll get a chance I'll try to follow Sharan's tuto locally on Ubuntu 
20.04, to be able, if it works to try to extract the related data.

Also in Nov. 2022, Yannong said:
bq. I set auth="false" for  in 
service_mrp.xml to make it "work"
when it did not work for you recently. It seems the version he used then 
allowed that. That could be a track to follow...


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

I doubted it was a JDK issue, both 8 and 11 reject a data. 

So we now know for sure that there is a problem with data at some point. Else 
java.io.ObjectInputStream would not reject at least one before anything else is 
reported by the log. 

I see 2 possibilities. Maybe you could extract the data you use locally? I'd 
try with them locally or on demo (trunk or 18.12 alike reject as we saw). 

When I'll get a chance I'll try to follow Sharan's tuto locally on Ubuntu 
20.04, to be able, if it works to try to extract the related data.

Also in Nov. 2022, Yannong said:
bq. I set auth="false" for  in 
service_mrp.xml to make it "work"
when it did not work for you recently. It seems the version he used then 
allowed that. That could be a track to follow...


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-24 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

YES, I Use a MacBook Pro. I tried with JDK11 but problem still exists.

 

2024-07-24 14:57:47 2024-07-24 11:57:47,194 |jsse-nio-8443-exec-7 |LoginWorker  
                 |W| Received a null Security object from HttpServletRequest
2024-07-24 14:57:47 2024-07-24 11:57:47,194 |jsse-nio-8443-exec-7 
|ControlServlet                |T| [[[RunMrp(Domain:https://localhost)] Request 
Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2024-07-24 14:57:47 2024-07-24 11:57:47,231 |jsse-nio-8443-exec-7 
|ConfigXMLReader               |I| controller loaded: 0.003s, 149 requests, 66 
views in 
file:/ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,248 |jsse-nio-8443-exec-7 
|ConfigXMLReader               |I| controller loaded: 0.001s, 48 requests, 22 
views in file:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,264 |jsse-nio-8443-exec-7 
|ConfigXMLReader               |I| controller loaded: 0.0s, 0 requests, 0 views 
in file:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,279 |jsse-nio-8443-exec-7 
|ConfigXMLReader               |I| controller loaded: 0.001s, 4 requests, 0 
views in file:/ofbiz/applications/commonext/webapp/WEB-INF/controller.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,280 |jsse-nio-8443-exec-7 |JWTManager   
                 |I| Internal single sign on is disabled.
2024-07-24 14:57:47 2024-07-24 11:57:47,284 |jsse-nio-8443-exec-7 
|RequestHandler                |I| Rendering View [MrpExecution].  Hidden 
sessionId by default.
2024-07-24 14:57:47 2024-07-24 11:57:47,287 |jsse-nio-8443-exec-7 
|ServiceDispatcher             |T| Sync service 
[manufacturing/getUserPreferenceGroup] finished in [2] milliseconds
2024-07-24 14:57:47 2024-07-24 11:57:47,309 |jsse-nio-8443-exec-7 
|ScreenFactory                 |I| Got 4 screens in 0.014s from: 
file:/ofbiz/applications/manufacturing/widget/manufacturing/MrpScreens.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,324 |jsse-nio-8443-exec-7 
|ScreenFactory                 |I| Got 2 screens in 0.014s from: 
file:/ofbiz/applications/manufacturing/widget/manufacturing/CommonScreens.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,339 |jsse-nio-8443-exec-7 
|ScreenFactory                 |I| Got 1 screens in 0.012s from: 
file:/ofbiz/applications/commonext/widget/CommonScreens.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,417 |jsse-nio-8443-exec-7 
|ServiceDispatcher             |T| Sync service 
[manufacturing/getLastSystemInfoNote] finished in [15] milliseconds
2024-07-24 14:57:47 2024-07-24 11:57:47,448 |jsse-nio-8443-exec-7 
|ScreenFactory                 |I| Got 27 screens in 0.014s from: 
file:/ofbiz/framework/common/widget/CommonScreens.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,547 |jsse-nio-8443-exec-7 
|ScreenFactory                 |I| Got 26 screens in 0.015s from: 
file:/ofbiz/themes/common-theme/widget/CommonScreens.xml
2024-07-24 14:57:47 2024-07-24 11:57:47,754 |jsse-nio-8443-exec-7 |ServerHitBin 
                 |I| Visit delegatorName=default, ServerHitBin 
delegatorName=default
2024-07-24 14:57:47 2024-07-24 11:57:47,766 |jsse-nio-8443-exec-7 
|ControlServlet                |T| [[[RunMrp(Domain:https://localhost)] Request 
Done- total:0.571,since last([RunMrp(Domain:ht...):0.571]]
2024-07-24 14:57:57 2024-07-24 11:57:57,771 |jsse-nio-8443-exec-4 |LoginWorker  
                 |W| Received a null Security object from HttpServletRequest
2024-07-24 14:57:57 2024-07-24 11:57:57,772 |jsse-nio-8443-exec-4 
|ControlServlet                |T| [[[runMrpGo(Domain:https://localhost)] 
Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2024-07-24 14:57:57 2024-07-24 11:57:57,816 |jsse-nio-8443-exec-4 
|ConfigXMLReader               |I| controller loaded: 0.006s, 149 requests, 66 
views in 
file:/ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
2024-07-24 14:57:57 2024-07-24 11:57:57,834 |jsse-nio-8443-exec-4 
|ConfigXMLReader               |I| controller loaded: 0.001s, 48 requests, 22 
views in file:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2024-07-24 14:57:57 2024-07-24 11:57:57,845 |jsse-nio-8443-exec-4 
|ConfigXMLReader               |I| controller loaded: 0.0s, 0 requests, 0 views 
in file:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-07-24 14:57:57 2024-07-24 11:57:57,855 |jsse-nio-8443-exec-4 
|ConfigXMLReader               |I| controller loaded: 0.0s, 4 requests, 0 views 
in file:/ofbiz/applications/commonext/webapp/WEB-INF/controller.xml
2024-07-24 14:57:57 2024-07-24 11:57:57,857 |jsse-nio-8443-exec-4 |JWTManager   
                 |I| Internal

[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-24 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

At 1st glance the stable demo log and your local are similar (see below). But 
there is something which makes the difference. This info:
bq. 2024-07-23 20:39:51 INFO: ObjectInputFilter REJECTED: null, array length: 
-1, nRefs: 501, depth: 7, bytes: 12655, ex: n/a

I initially thought it could be the Java version. But both are using 1.8.0_412. 
Also the OS is (maybe) not concerned.
Yannong who generated a very similar issue:
bq. Nov 21, 2022 5:40:51 PM java.io.ObjectInputStream filterCheck INFO: 
ObjectInputFilter REJECTED: null, array length: -1, nRefs: 501, depth: 6, 
bytes: 13065, ex: n/a
uses
bq.  OfBiz 18.12 in my local environment (MacOS M1, jdk1.8.0_351.jdk)
so you are, right?

I have used Win7 with "Temurin-11.0.17+8 (build 11.0.17+8, mixed mode". Please 
try with JDK 11 before we get further if ncessary.


h3. stable demo log
2024-07-22 08:59:45,467 |OFBiz-JobQueue-0 |PersistedServiceJob |I| Job 
[1721638778315] Id [10047] – Next runtime: Wed Dec 31 23:59:59 UTC 1969
2024-07-22 08:59:45,486 |OFBiz-JobQueue-0 |UtilObject |E| null
java.io.InvalidClassException: filter status: REJECTED
at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1333) 
~[?:1.8.0_412]

h3. your local
2024-07-23 20:39:51 2024-07-23 17:39:51,697 |OFBiz-JobQueue-1 
|PersistedServiceJob |I| Job [1721756368639] Id [12721] – Next runtime: Wed Dec 
31 23:59:59 UTC 1969
2024-07-23 20:39:51 Jul 23, 2024 5:39:51 PM java.io.ObjectInputStream 
filterCheck
2024-07-23 20:39:51 INFO: ObjectInputFilter REJECTED: null, array length: -1, 
nRefs: 501, depth: 7, bytes: 12655, ex: n/a
2024-07-23 20:39:51 2024-07-23 17:39:51,747 |OFBiz-JobQueue-1 |UtilObject |E| 
null
2024-07-23 20:39:51 java.io.InvalidClassException: filter status: REJECTED
2024-07-23 20:39:51 at 
java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1333) 
~[?:1.8.0_412]

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Emad Radwan (Jira)


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

Emad Radwan updated OFBIZ-13122:

Attachment: Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

 

see here from the browser dev tools, facilityId is being sent:

!Screenshot 2024-07-23 at 8.49.52 PM (2).png!

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2)-1.png, Screenshot 2024-07-23 at 
> 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Emad Radwan (Jira)


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

Emad Radwan updated OFBIZ-13122:

Attachment: Screenshot 2024-07-23 at 8.49.52 PM (2).png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png, 
> Screenshot 2024-07-23 at 8.49.52 PM (2).png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

here's my logs: 2024-07-23 20:39:27 2024-07-23 17:39:27,921 
|sse-nio-8443-exec-10 |LoginWorker                   |W| Received a null 
Security object from HttpServletRequest
2024-07-23 20:39:27 2024-07-23 17:39:27,921 |sse-nio-8443-exec-10 
|ControlServlet                |T| [[[runMrpGo(Domain:https://localhost)] 
Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2024-07-23 20:39:27 2024-07-23 17:39:27,949 |sse-nio-8443-exec-10 
|ConfigXMLReader               |I| controller loaded: 0.002s, 149 requests, 66 
views in 
file:/ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
2024-07-23 20:39:27 2024-07-23 17:39:27,962 |sse-nio-8443-exec-10 
|ConfigXMLReader               |I| controller loaded: 0.001s, 48 requests, 22 
views in file:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2024-07-23 20:39:27 2024-07-23 17:39:27,974 |sse-nio-8443-exec-10 
|ConfigXMLReader               |I| controller loaded: 0.0s, 0 requests, 0 views 
in file:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-07-23 20:39:27 2024-07-23 17:39:27,990 |sse-nio-8443-exec-10 
|ConfigXMLReader               |I| controller loaded: 0.0s, 4 requests, 0 views 
in file:/ofbiz/applications/commonext/webapp/WEB-INF/controller.xml
2024-07-23 20:39:27 2024-07-23 17:39:27,991 |sse-nio-8443-exec-10 |JWTManager   
                 |I| Internal single sign on is disabled.
2024-07-23 20:39:28 2024-07-23 17:39:28,012 |sse-nio-8443-exec-10 
|ServiceDispatcher             |T| [[ASync service started...- total:0.0,since 
last(Begin):0.0]] - 'manufacturing / executeMrp'
2024-07-23 20:39:28 2024-07-23 17:39:28,042 |sse-nio-8443-exec-10 |SequenceUtil 
                 |I| Got bank of sequenced IDs for [RuntimeData]; 
curSeqId=10100, maxSeqId=10200, bankSize=100
2024-07-23 20:39:28 2024-07-23 17:39:28,652 |sse-nio-8443-exec-10 
|GenericAsyncEngine            |I| Persisted job queued : 1721756368639
2024-07-23 20:39:28 2024-07-23 17:39:28,652 |sse-nio-8443-exec-10 
|ServiceDispatcher             |T| [[ASync service finished...- 
total:0.64,since last(ASync service sta...):0.64]] - 'manufacturing / 
executeMrp'
2024-07-23 20:39:28 2024-07-23 17:39:28,657 |sse-nio-8443-exec-10 
|RequestHandler                |I| Ran Event [service:async#executeMrp] from 
[request], result is [success]
2024-07-23 20:39:28 2024-07-23 17:39:28,657 |sse-nio-8443-exec-10 
|RequestHandler                |I| Rendering View [RunMrpGo].  Hidden sessionId 
by default.
2024-07-23 20:39:28 2024-07-23 17:39:28,659 |sse-nio-8443-exec-10 
|ServiceDispatcher             |T| Sync service 
[manufacturing/getUserPreferenceGroup] finished in [1] milliseconds
2024-07-23 20:39:28 2024-07-23 17:39:28,676 |sse-nio-8443-exec-10 
|ScreenFactory                 |I| Got 4 screens in 0.012s from: 
file:/ofbiz/applications/manufacturing/widget/manufacturing/MrpScreens.xml
2024-07-23 20:39:28 2024-07-23 17:39:28,780 |sse-nio-8443-exec-10 
|ScreenFactory                 |I| Got 2 screens in 0.007s from: 
file:/ofbiz/applications/manufacturing/widget/manufacturing/CommonScreens.xml
2024-07-23 20:39:28 2024-07-23 17:39:28,787 |sse-nio-8443-exec-10 
|ScreenFactory                 |I| Got 1 screens in 0.006s from: 
file:/ofbiz/applications/commonext/widget/CommonScreens.xml
2024-07-23 20:39:28 2024-07-23 17:39:28,834 |sse-nio-8443-exec-10 
|ServiceDispatcher             |T| Sync service 
[manufacturing/getLastSystemInfoNote] finished in [13] milliseconds
2024-07-23 20:39:28 2024-07-23 17:39:28,845 |sse-nio-8443-exec-10 
|ScreenFactory                 |I| Got 27 screens in 0.006s from: 
file:/ofbiz/framework/common/widget/CommonScreens.xml
2024-07-23 20:39:28 2024-07-23 17:39:28,919 |sse-nio-8443-exec-10 
|ScreenFactory                 |I| Got 26 screens in 0.008s from: 
file:/ofbiz/themes/common-theme/widget/CommonScreens.xml
2024-07-23 20:39:29 2024-07-23 17:39:29,053 |sse-nio-8443-exec-10 |ServerHitBin 
                 |I| Visit delegatorName=default, ServerHitBin 
delegatorName=default
2024-07-23 20:39:29 2024-07-23 17:39:29,056 |sse-nio-8443-exec-10 
|ControlServlet                |T| [[[runMrpGo(Domain:https://localhost)] 
Request Done- total:1.135,since last([runMrpGo(Domain:...):1.135]]
2024-07-23 20:39:43 2024-07-23 17:39:43,413 |jsse-nio-8443-exec-4 |LoginWorker  
                 |W| Received a null Security object from HttpServletRequest
2024-07-23 20:39:43 2024-07-23 17:39:43,413 |jsse-nio-8443-exec-4 
|ControlServlet                |T| 
[[[FindInventoryEventPlan(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2024-07-23 20:39:43 2024-07-23 17:39:43,533 |jsse-nio-8443-exec-4 
|ConfigXMLReader               |I| controller loaded: 0.004s, 149

[jira] [Assigned] (OFBIZ-12401) Improved OFBiz configuration management for containers

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-12401:
---

Assignee: (was: Jacques Le Roux)

I must have clicked somewhere. I did not want to assign myself

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12401:
-

Hi Nicolas,

Looking forward :)

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Ioan Eugen Stan
>Assignee: Jacques Le Roux
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-12401) Improved OFBiz configuration management for containers

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-12401:
---

Assignee: Jacques Le Roux

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Ioan Eugen Stan
>Assignee: Jacques Le Roux
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

As I said the deep problem is not authorisation but a Serialize Exception. It's 
obvious in the log I put above the so called authorisation issue happens at 
"2024-07-22 08:59:45,491" when the real reason (ie the Serialize Exception) 
happens at "2024-07-22 08:59:45,486 "

So I don't know what's in your data (or way to create them maybe) but something 
generates a java.io.InvalidClassException which is at the top of the stack.

Another explanation is that it'd work locally but not with the stable demo. 
That seems unlikely to me.

While at it, here is an image of what I use to create the job that works 
locally:
!Image 020.png!

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-13122:

Attachment: Image 020.png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Image 020.png, Screenshot 2024-07-22 at 
> 8.41.00 PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 
> 2024-07-22 at 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2024-07-23 Thread Nicolas Malin (Jira)


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

Nicolas Malin commented on OFBIZ-12401:
---

Hello, 

I restarted the work with the presence of new energy at Néréide and we try to 
use https://github.com/lightbend/config as suggest by [~ieugen].

At this time, we arrive to change nothing on the current configuration and 
override any xml config value by HOCON properties files.

Example :


{code:xml}


{code}

add an application.conf file at start with 
{code:json}
  "entityengine": {
"entity-config": {
  "datasource": {
"localpostgres": {
  "inline-jdbc": {
"jdbc-uri": "jdbc:postgresql://mydevserver/ofbiz-dev"
"jdbc-username": "userdev"
"jdbc-password": "passworddev"
  }
}
  }
}
}
{code}

Idea to support the xml as hocon file was change the xml file loading from sax 
parsing to xpath resolver and create bridge between xpath resolver and hocon 
path :)

The main goal will be override any conf on entityengine, serviceengine, any 
properties and if we can ofbiz-component.xml and web.xml

I will share the source code change soon

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

Please check what I mentioned in the top of this thread. Here it's again:

Hello Community, I'm working with the Manufacturing tutorial on Sharan's
book - making tables with wood, nails and varnish - when I run the MRP and
as guided I got the authentication error that - when searched - found that
this was reported before in the following thread but unfortunately when I
applied the workaround - noticed that the problem still there in the online
demo - it didn't work for me and I got the following error message which is
not describing exactly what is happening as I entered the 'facilityId' in
the params. facilityId and facilityGroupId cannot be both null
https://lists.apache.org/list?u...@ofbiz.apache.org:2022-11:User%20authorization%20is%20required%20for%20this%20service:%20executeMrp
Regards,
Emad

On Tue, Jul 23, 2024 at 10:50 AM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-23 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Here is the related part of log in ofbiz.log.1. 


{noformat}
2024-07-22 08:59:45,467 |OFBiz-JobQueue-0 |PersistedServiceJob   
|I| Job  [1721638778315] Id [10047] -- Next runtime: Wed Dec 31 23:59:59 UTC 
1969
2024-07-22 08:59:45,486 |OFBiz-JobQueue-0 |UtilObject
|E| null
java.io.InvalidClassException: filter status: REJECTED
at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1333) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1801) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1844) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:2074) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1657) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461) 
~[?:1.8.0_412]
at java.util.HashMap.readObject(HashMap.java:1418) ~[?:1.8.0_412]
at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source) ~[?:?]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_412]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_412]
at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2322) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355) 
~[?:1.8.0_412]
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503) 
~[?:1.8.0_412]
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461) 
~[?:1.8.0_412]
at 
org.apache.ofbiz.base.util.UtilObject.getObjectException(UtilObject.java:96) 
~[ofbiz.jar:?]
at org.apache.ofbiz.base.util.UtilObject.getObject(UtilObject.java:79) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeCustom(XmlSerializer.java:475)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:465)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:453)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:128)
 ~[ofbiz.jar:?]
at 
org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:102)
 ~[ofbiz.jar

[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Checking the ofbiz.log (actually ofbiz.log.1) will take more time. I have the 
files locally, I'll check tmrw.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-13122 at 7/22/24 6:07 PM:
--

Here is the only line I found in today error.log that contains the mrp "word"

2024-07-22 08:59:45,491 |OFBiz-JobQueue-0 |GenericServiceJob 
|E| Async-Service failed.
org.apache.ofbiz.service.ServiceAuthException: User authorization is required 
for this service: executeMrp



was (Author: jacques.le.roux):
Here is th eonly line I found in today error.log that contains the mrp "word"

2024-07-22 08:59:45,491 |OFBiz-JobQueue-0 |GenericServiceJob 
|E| Async-Service failed.
org.apache.ofbiz.service.ServiceAuthException: User authorization is required 
for this service: executeMrp


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Here is th eonly line I found in today error.log that contains the mrp "word"

2024-07-22 08:59:45,491 |OFBiz-JobQueue-0 |GenericServiceJob 
|E| Async-Service failed.
org.apache.ofbiz.service.ServiceAuthException: User authorization is required 
for this service: executeMrp


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Using my local 18.12 HEAD version I again confirm it's working. Here are the 
proofs:
h3. Log
{noformat}
2024-07-22 19:11:28,465 |jsse-nio-8443-exec-2 |ControlServlet
|T| [[[RunMrp(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2024-07-22 19:11:28,480 |jsse-nio-8443-exec-2 |ConfigXMLReader   
|I| controller loaded: 0.002s, 149 requests, 66 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/manufacturing/webapp/manufacturing/WEB-INF/contro
ller.xml
2024-07-22 19:11:28,502 |jsse-nio-8443-exec-2 |ConfigXMLReader   
|I| controller loaded: 0.0s, 48 requests, 22 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/common-controller.xml
2024-07-22 19:11:28,514 |jsse-nio-8443-exec-2 |ConfigXMLReader   
|I| controller loaded: 0.0s, 0 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-07-22 19:11:28,525 |jsse-nio-8443-exec-2 |ConfigXMLReader   
|I| controller loaded: 0.0s, 4 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/commonext/webapp/WEB-INF/controller.xml
2024-07-22 19:11:28,526 |jsse-nio-8443-exec-2 |JWTManager
|I| Internal single sign on is disabled.
2024-07-22 19:11:28,530 |jsse-nio-8443-exec-2 |RequestHandler
|I| Rendering View [MrpExecution].  Hidden sessionId by default.
2024-07-22 19:11:28,538 |jsse-nio-8443-exec-2 |ScreenFactory 
|I| Got 4 screens in 0.005s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/manufacturing/widget/manufacturing/MrpScreens.xml
2024-07-22 19:11:28,543 |jsse-nio-8443-exec-2 |ScreenFactory 
|I| Got 2 screens in 0.004s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/manufacturing/widget/manufacturing/CommonScreens.xml
2024-07-22 19:11:28,549 |jsse-nio-8443-exec-2 |ScreenFactory 
|I| Got 1 screens in 0.006s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/commonext/widget/CommonScreens.xml
2024-07-22 19:11:28,584 |jsse-nio-8443-exec-2 |ServiceDispatcher 
|T| Sync service [manufacturing/getLastSystemInfoNote] finished in [12] 
milliseconds
2024-07-22 19:11:28,594 |jsse-nio-8443-exec-2 |ScreenFactory 
|I| Got 27 screens in 0.007s from: 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/widget/CommonScreens.xml
2024-07-22 19:11:28,651 |jsse-nio-8443-exec-2 |ScreenFactory 
|I| Got 26 screens in 0.006s from: 
file:/C:/projectsASF/Git/ofbiz-framework/themes/common-theme/widget/CommonScreens.xml
2024-07-22 19:11:28,744 |jsse-nio-8443-exec-2 |ServerHitBin  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2024-07-22 19:11:28,745 |jsse-nio-8443-exec-2 |ControlServlet
|T| [[[RunMrp(Domain:https://localhost)] Request Done- total:0.28,since 
last([RunMrp(Domain:ht...):0.28]]
2024-07-22 19:11:49,914 |jsse-nio-8443-exec-3 |LoginWorker   
|W| Received a null Security object from HttpServletRequest
2024-07-22 19:11:49,914 |jsse-nio-8443-exec-3 |ControlServlet
|T| [[[runMrpGo(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2024-07-22 19:11:49,933 |jsse-nio-8443-exec-3 |ConfigXMLReader   
|I| controller loaded: 0.002s, 149 requests, 66 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/manufacturing/webapp/manufacturing/WEB-INF/contro
ller.xml
2024-07-22 19:11:49,948 |jsse-nio-8443-exec-3 |ConfigXMLReader   
|I| controller loaded: 0.001s, 48 requests, 22 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/common-controller.xml
2024-07-22 19:11:49,959 |jsse-nio-8443-exec-3 |ConfigXMLReader   
|I| controller loaded: 0.0s, 0 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-07-22 19:11:49,971 |jsse-nio-8443-exec-3 |ConfigXMLReader   
|I| controller loaded: 0.0s, 4 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/commonext/webapp/WEB-INF/controller.xml
2024-07-22 19:11:49,972 |jsse-nio-8443-exec-3 |JWTManager
|I| Internal single sign on is disabled.
2024-07-22 19:11:49,977 |jsse-nio-8443-exec-3 |ServiceDispatcher 
|T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 
'manufacturing / executeMrp'
2024-07-22 19:11:50,022 |jsse-nio-8443-exec-3 |GenericAsyncEngine
|I| Persisted job queued : 1721668310012
2024-07-22 19:11:50,022 |jsse-nio-8443-exec-3

[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Ah, we just crossed on wire. Let me check what happens in stable demo log.

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

!Screenshot 2024-07-22 at 8.43.27 PM.png!

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

!Screenshot 2024-07-22 at 8.41.00 PM-1.png!

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan updated OFBIZ-13122:

Attachment: Screenshot 2024-07-22 at 8.43.27 PM-1.png
Screenshot 2024-07-22 at 8.41.00 PM-1.png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan updated OFBIZ-13122:

Attachment: Screenshot 2024-07-22 at 8.41.00 PM.png
Screenshot 2024-07-22 at 8.43.27 PM.png

I'm not sure what you want me to see in the screenshot but I tried it again
on the demo and truck versions and I get 'failed' production run from the
'MRP' log after creating the mrp; here's the screenshots and I'll try to
put them on Jira as well.

Regards,
Emad

On Mon, Jul 22, 2024 at 8:26 PM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png, Screenshot 2024-07-22 at 8.41.00 
> PM-1.png, Screenshot 2024-07-22 at 8.41.00 PM.png, Screenshot 2024-07-22 at 
> 8.43.27 PM-1.png, Screenshot 2024-07-22 at 8.43.27 PM.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-13122:

Attachment: Image 019.png

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: Image 019.png
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

https://demo-stable.ofbiz.apache.org

On Mon, Jul 22, 2024 at 12:21 PM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-13122 at 7/22/24 9:20 AM:
--

Hi Emad,

What do you mean, it does not work for you? Which version are you using?


was (Author: jacques.le.roux):
Hi Emad,

What to you mean, it does not work for you? Which version are you using?

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

Hi Emad,

What to you mean, it does not work for you? Which version are you using?

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-22 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

Hello Jacques,

When do you think this fix will be available?

Regards,
Emad

On Fri, Jul 12, 2024 at 9:01 PM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13127) Correction of form display when there are grid and forms combination within a same xml file

2024-07-21 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13127:
-

Hi Leïla,

I tested and it's OK with me, +1 for commit

> Correction of form display when there are grid and forms combination within a 
> same xml file
> ---
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be 
> several cases that can provoke a bad display of a form due to mixed type 
> combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently 
> deterioring display of existing screens.
> ( for instance in the current screen: 
> https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends 
> the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in 
> sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not 
> display any informations anymore)
> But for the first case that is more corresponding to a real bug, for 
> compatibility purpose I propose to fix it by adding a check both in 
> ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull 
> request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13127) Correction of form display when there are grid and forms combination within a same xml file

2024-07-19 Thread Mekika Leila (Jira)


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

Mekika Leila updated OFBIZ-13127:
-
Summary: Correction of form display when there are grid and forms 
combination within a same xml file  (was: Fixed: Correction of form display 
when there are grid and forms combination within a same xml file)

> Correction of form display when there are grid and forms combination within a 
> same xml file
> ---
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be 
> several cases that can provoke a bad display of a form due to mixed type 
> combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently 
> deterioring display of existing screens.
> ( for instance in the current screen: 
> https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends 
> the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in 
> sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not 
> display any informations anymore)
> But for the first case that is more corresponding to a real bug, for 
> compatibility purpose I propose to fix it by adding a check both in 
> ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull 
> request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13127) Fixed: Correction of form display when there are grid and forms combination within a same xml file

2024-07-19 Thread Mekika Leila (Jira)


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

Mekika Leila updated OFBIZ-13127:
-
Attachment: ExempleOFBIZ-13127.patch

> Fixed: Correction of form display when there are grid and forms combination 
> within a same xml file
> --
>
> Key: OFBIZ-13127
> URL: https://issues.apache.org/jira/browse/OFBIZ-13127
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13127.patch
>
>
> When we have forms and grids mixed in the same file, there seems to be 
> several cases that can provoke a bad display of a form due to mixed type 
> combination
> - if we extend a form within a file containing a grid (see attached patch)
> - if we create a form that extends a grid
> - if we create a grid that extends a form
> The last two cases seems to be a bit weird even though it is currently 
> deterioring display of existing screens.
> ( for instance in the current screen: 
> https://demo-trunk.ofbiz.apache.org/sfa/control/Events
> The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends 
> the grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in 
> sfa EventForms.xml
> But in the screen, we can observe that the task assigned by me does not 
> display any informations anymore)
> But for the first case that is more corresponding to a real bug, for 
> compatibility purpose I propose to fix it by adding a check both in 
> ModelSingleForm.java and ModelGrid.java
> To test the fix, you can apply the patch Example.patch and then go to page:
> https://localhost:8443/sfa/control/Events
> Create an event assigned to yourself so it should appear in both tasks lists.
> You will see the difference when applying the modifications from the pull 
> request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OFBIZ-13127) Fixed: Correction of form display when there are grid and forms combination within a same xml file

2024-07-19 Thread Mekika Leila (Jira)
Mekika Leila created OFBIZ-13127:


 Summary: Fixed: Correction of form display when there are grid and 
forms combination within a same xml file
 Key: OFBIZ-13127
 URL: https://issues.apache.org/jira/browse/OFBIZ-13127
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Upcoming Branch
Reporter: Mekika Leila


When we have forms and grids mixed in the same file, there seems to be several 
cases that can provoke a bad display of a form due to mixed type combination

- if we extend a form within a file containing a grid (see attached patch)
- if we create a form that extends a grid
- if we create a grid that extends a form

The last two cases seems to be a bit weird even though it is currently 
deterioring display of existing screens.
( for instance in the current screen: 
https://demo-trunk.ofbiz.apache.org/sfa/control/Events
The form 'TasksAssignedByMe' ("Open Tasks Assigned by me" section) extends the 
grid MyTasks ("Open Tasks Assigned to me" section). Both are defined in sfa 
EventForms.xml
But in the screen, we can observe that the task assigned by me does not display 
any informations anymore)

But for the first case that is more corresponding to a real bug, for 
compatibility purpose I propose to fix it by adding a check both in 
ModelSingleForm.java and ModelGrid.java


To test the fix, you can apply the patch Example.patch and then go to page:
https://localhost:8443/sfa/control/Events

Create an event assigned to yourself so it should appear in both tasks lists.

You will see the difference when applying the modifications from the pull 
request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13117) Allow direct view rendering in override view functionality

2024-07-19 Thread ASF subversion and git services (Jira)


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

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

Commit 8439579948b29d5d27116a00b654555f7287d8b7 in ofbiz-framework's branch 
refs/heads/trunk from Deepak Dixit
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8439579948 ]

Revert "Fixed overrideViewUri condition in RequestHandler.resolveURI() method 
(OFBIZ-13117)"

This reverts commit c8cc30b3bb6548be226622d9f6ee5fd0f8c4f79f.


> Allow direct view rendering in override view functionality
> --
>
> Key: OFBIZ-13117
> URL: https://issues.apache.org/jira/browse/OFBIZ-13117
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: 18.12.14
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Major
> Fix For: Upcoming Branch, 18.12.15
>
>
> {color:#00}Enhance the override view functionality by adding a feature to 
> permit direct rendering of views{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13117) Allow direct view rendering in override view functionality

2024-07-19 Thread ASF subversion and git services (Jira)


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

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

Commit 66acac92efa6fb950835f863d992fe4fe1c61087 in ofbiz-framework's branch 
refs/heads/release17.12 from Deepak Dixit
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=66acac92ef ]

Revert "Added support to allow direct view rendering in override view 
functionality (OFBIZ-13117)"

This reverts commit fe3c06c3fb7ab1abdd6e0dd55220b7192ec2b8c1.


> Allow direct view rendering in override view functionality
> --
>
> Key: OFBIZ-13117
> URL: https://issues.apache.org/jira/browse/OFBIZ-13117
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: 18.12.14
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Major
> Fix For: Upcoming Branch, 18.12.15
>
>
> {color:#00}Enhance the override view functionality by adding a feature to 
> permit direct rendering of views{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13117) Allow direct view rendering in override view functionality

2024-07-19 Thread ASF subversion and git services (Jira)


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

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

Commit 6c3b0068a99bb3b93321fdb983a0046b0679c86d in ofbiz-framework's branch 
refs/heads/release18.12 from Deepak Dixit
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6c3b0068a9 ]

Revert "Improved: Added support to allow direct view rendering in override view 
functionality (OFBIZ-13117)"

This reverts commit 8b1ee1b3a5da79ae669aee324c51d073e4ba8b1f.


> Allow direct view rendering in override view functionality
> --
>
> Key: OFBIZ-13117
> URL: https://issues.apache.org/jira/browse/OFBIZ-13117
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: 18.12.14
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Major
> Fix For: Upcoming Branch, 18.12.15
>
>
> {color:#00}Enhance the override view functionality by adding a feature to 
> permit direct rendering of views{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13120) Improved German translation for Human Resources

2024-07-18 Thread Sebastian Tschikin (Jira)


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

Sebastian Tschikin commented on OFBIZ-13120:


Hi Adrian,

thank you for your interest and your efforts to improve OFBiz.

I have found several translations which need to be reworked. Here are a few 
examples:
 * HumanResLeaveApproval: "Bei mir beantragt" != "Leave Approval"
 * PageTitleFindApprovals: "Bei mir beantragte Abwesenheiten" != "Find 
Approvals"
 * HumanResEmploymentPartyIdFromToolTip: Grammatically wrong -> 
"Organisationseinheit der Stelle" or "... des Mitarbeiters" maybe better?
 * HumanResMyLeaves: Typo
 * HumanResResponsibilityTypeId: Typo

Please rework everything and if you have any questions, feel free to ask.

Sebastian

> Improved German translation for Human Resources
> ---
>
> Key: OFBIZ-13120
> URL: https://issues.apache.org/jira/browse/OFBIZ-13120
> Project: OFBiz
>  Issue Type: Improvement
>  Components: humanres
>Affects Versions: 22.01.01
>Reporter: Adrian Rauch
>Assignee: Sebastian Tschikin
>Priority: Minor
> Fix For: 22.01.01
>
> Attachments: 0001-Improved-translations-into-German-language.patch, 
> 0002-Improved-translations-into-German-language.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> +*TLDR*+
> I changed some german translations inside applications/humres to match more 
> closely the terms tought in business administration training courses here in 
> Germany. The corresponding *.patch file is attached to this issue, as 
> suggested in the section "Contributing Code and Bug Fixes" of 
> [https://ofbiz.apache.org/getting-involved.html] 
> +*Deatiled description of included changes:*+
>  * Used "Abwesenheit" instead of "'Urlaub" as umbrella term for everything 
> that is detailed in EmplLeaveType and LeaveReasonType. The german word 
> "Urlaub" describes a specific kind of "Abwesenheit" that correlates closely 
> with (EmplLeaveType=="Inland earned" && LeaveReasonType=="Casual") and is 
> therfore less suitable as umbrella term. 
>  * Used "Stelle" for EmplPosition and "Sellenausschreibung" for JobRequisition
> See 
> [https://www.bpb.de/kurz-knapp/lexika/lexikon-der-wirtschaft/20725/stelle/ 
> |https://www.bpb.de/kurz-knapp/lexika/lexikon-der-wirtschaft/20725/stelle/]
> for further info.
>  * Used "Verantwortlichkeit" and "Verantwortlichkeiten" for ResponsibilityTyp.
> Possible alternertive would be "Zuständigkeit" and "Zuständigkeiten".
> Both terms "Verantwortlichkeit"and "Zuständigkeit" are more or less
> interchangable so I guess it realy comes down to personal preference.
>  * Used "Bewerber" for ApplyingParty
>  * Used "Qualifikationsbeschreibung" for QualificationDesc



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12858) Remove old unused fields from entity

2024-07-17 Thread Pushpraj Singh Jadon (Jira)


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

Pushpraj Singh Jadon commented on OFBIZ-12858:
--

Hello [~deepak], I have removed the old unused fields from the entity. Please 
have a look at this PR: [https://github.com/apache/ofbiz-framework/pull/824].

> Remove old unused fields from entity
> 
>
> Key: OFBIZ-12858
> URL: https://issues.apache.org/jira/browse/OFBIZ-12858
> Project: OFBiz
>  Issue Type: Task
>Affects Versions: Upcoming Branch
>Reporter: Deepak Dixit
>Priority: Minor
>
> There are some unused old fields (deprecated) exists,
>  * oldPickStartDate
>  * oldMaritalStatus
>  * oldSquareFootage
>  * oldInvoiceSequenceEnumId
>  * oldOrderSequenceEnumId
>  * oldQuoteSequenceEnumId



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OFBIZ-13126) Controller xml configuration is not cached

2024-07-13 Thread Omar Abu-Arab (Jira)
Omar Abu-Arab created OFBIZ-13126:
-

 Summary: Controller xml configuration is not cached
 Key: OFBIZ-13126
 URL: https://issues.apache.org/jira/browse/OFBIZ-13126
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Upcoming Branch
Reporter: Omar Abu-Arab


the following method is supposed to cache the controller configuration 

in  CONTROLLERCACHE static variable but it does not.

org.apache.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(URL url) 

I tried using it with Java ConcurrentHashMap it worked and gave a nice 
performance gains



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (OFBIZ-13122) Error with executeMRP service

2024-07-12 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-13122.
---
Fix Version/s: Upcoming Branch
   Resolution: Fixed

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13122) Error with executeMRP service

2024-07-12 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-13122:

Affects Version/s: Upcoming Branch

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Upcoming Branch
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-12 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Error with executeMRP service (OFBIZ-13122)

Reverting OFBIZ-10395 commits was not enough because of the merge issues.
Other things have changed since:
*  createRequirementCustRequest, was created later
*  Some service were migrated to groovy, eg checkCreateOrderRequirement
*  etc.

Actually only adding again in the RequirementServices.xml the old
createRequirement simple-method, with its required requirementInterface
interface, to replace the entity-auto createRequirement service was needed.

For history sake: also deleteRequirement is no longer required, the new Groovy
implementation deleteRequirementAndRelated does really the work. Same for the
rest of the file below.


> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-10395) Convert Requirement related services from simple to entity-auto

2024-07-12 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Error with executeMRP service (OFBIZ-13122)

Reverting OFBIZ-10395 commits was not enough because of the merge issues.
Other things have changed since:
*  createRequirementCustRequest, was created later
*  Some service were migrated to groovy, eg checkCreateOrderRequirement
*  etc.

Actually only adding again in the RequirementServices.xml the old
createRequirement simple-method, with its required requirementInterface
interface, to replace the entity-auto createRequirement service was needed.

For history sake: also deleteRequirement is no longer required, the new Groovy
implementation deleteRequirementAndRelated does really the work. Same for the
rest of the file below.


> Convert Requirement related services from simple to entity-auto
> ---
>
> Key: OFBIZ-10395
> URL: https://issues.apache.org/jira/browse/OFBIZ-10395
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Suraj Khurana
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.01
>
> Attachments: OFBIZ-10395.patch
>
>
> There is nothing extra in these services and they can be made to entity-auto.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-12 Thread Emad Radwan (Jira)


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

Emad Radwan commented on OFBIZ-13122:
-

Many thanks.

On Fri, Jul 12, 2024 at 10:09 AM Jacques Le Roux (Jira) 



> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OFBIZ-13125) Allow to define a view link condition when creating a DynamicView

2024-07-12 Thread Mekika Leila (Jira)
Mekika Leila created OFBIZ-13125:


 Summary: Allow to define a view link condition when creating a 
DynamicView
 Key: OFBIZ-13125
 URL: https://issues.apache.org/jira/browse/OFBIZ-13125
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Reporter: Mekika Leila
 Attachments: ExempleOFBIZ-13125.patch

The goal of this jira is to allow the creation of a dynamic view with an 
entity-condition only view-link.

Currently, it is not possible to link two members entities from a dve with a 
condition different from a key map 'ALIAS1.field1 == ALIAS2.field2'
( addViewLink method only )

As it has been done for xml view-entities 
(https://issues.apache.org/jira/browse/OFBIZ-11179), I propose to add the 
possbility to use the ViewEntityCondition definition when creating a DynamicView
I tried to stay as close as possible as the current EntityCondition writing but 
don't hesitate if you see a any way to simplify it. 

I attached a file to illustrate the purpose of this feature



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-13125) Allow to define a view link condition when creating a DynamicView

2024-07-12 Thread Mekika Leila (Jira)


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

Mekika Leila updated OFBIZ-13125:
-
Attachment: ExempleOFBIZ-13125.patch

> Allow to define a view link condition when creating a DynamicView
> -
>
> Key: OFBIZ-13125
> URL: https://issues.apache.org/jira/browse/OFBIZ-13125
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Reporter: Mekika Leila
>Priority: Minor
> Attachments: ExempleOFBIZ-13125.patch
>
>
> The goal of this jira is to allow the creation of a dynamic view with an 
> entity-condition only view-link.
> Currently, it is not possible to link two members entities from a dve with a 
> condition different from a key map 'ALIAS1.field1 == ALIAS2.field2'
> ( addViewLink method only )
> As it has been done for xml view-entities 
> (https://issues.apache.org/jira/browse/OFBIZ-11179), I propose to add the 
> possbility to use the ViewEntityCondition definition when creating a 
> DynamicView
> I tried to stay as close as possible as the current EntityCondition writing 
> but don't hesitate if you see a any way to simplify it. 
> I attached a file to illustrate the purpose of this feature



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-12 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

It's actually due to OFBIZ-10395. Reverting the 3 commits there resolves the 
problem in trunk. I'll push soon...

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-11947) Checkstyle: Add Javadoc for classes designed for extension

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Trunk demo errors in error.log (OFBIZ-13005)

Found these errors:

ServerHitBin methods
  requestHistory
  eventHistory
  viewHistory
  requestSinceStarted
  eventSinceStarted
  viewSinceStarted

Don't exist. They were changed with OFBIZ-11947, but not incorporated in
StatBinsHistory and StatsSinceStart Groovy files? Here they are.


> Checkstyle: Add Javadoc for classes designed for extension
> --
>
> Key: OFBIZ-11947
> URL: https://issues.apache.org/jira/browse/OFBIZ-11947
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11947-2.patch, OFBIZ-11947-3.patch, 
> OFBIZ-11947-plugins-3.patch, OFBIZ-11947-plugins.patch, OFBIZ-11947.patch
>
>
> For checkstyle errors:
> Class 'ResourceInfo' looks like designed for extension (can be subclassed), 
> but the method 'createResourceHandler' does not have javadoc that explains 
> how to do that safely. If class is not designed for extension consider making 
> the class 'ResourceInfo' final or making the method 'createResourceHandler' 
> static/final/abstract/empty, or adding allowed annotation for the method.
> We need to add missing javadocs for all such methods



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Trunk demo errors in error.log (OFBIZ-13005)

Found these errors:

ServerHitBin methods
  requestHistory
  eventHistory
  viewHistory
  requestSinceStarted
  eventSinceStarted
  viewSinceStarted

Don't exist. They were changed with OFBIZ-11947, but not incorporated in
StatBinsHistory and StatsSinceStart Groovy files? Here they are.


> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: File 
> file:/ofbiz/framework/common/widget/PortalPageScreens.xml process error. 
> Line: 82. Error message: cvc-datatype-valid.1.2.1: '

[jira] [Commented] (OFBIZ-13005) Trunk demo errors in error.log

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: Trunk demo errors in error.log (OFBIZ-13005)

With my last commit b365f9db8988bc5ac4d1d6db7bfd53ee32b7d612 I wrote that with
<<keywords.add(contentWrapper.get('PRODUCT_NAME', 'html'))
keywords is never empty.>>

I found again the same error in trunk demo so we need to also check that
contentWrapper contains 'html' for 'PRODUCT_NAME'. Here it is.

All this comes from when moving from Minilang to Groovy, which proves that it
was not an easy task.


> Trunk demo errors in error.log
> --
>
> Key: OFBIZ-13005
> URL: https://issues.apache.org/jira/browse/OFBIZ-13005
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> For 3 days now I have collected the trunk demo errors in error.log. I believe 
> we should try to fix as most as possible of them before freezing a new branch.
> I did check the value of them but some could still be minor.
> @All ([~ofbiz.user]?), I have changed the priority to blocker. Of course not 
> all errors reported here are valid and some are surely not blocker. The idea 
> is more to have a look at remaining issueg before freezing. I have also 
> removed the no format, despite the place taken, to ease researches in the 
> errors list.
> Here is the result to be better filterered:
> 2024-04-04 12:31:19,135 |-0.0.0.0-8009-exec-9 |ModelSingleForm   
> |E| Failed to load parent form definition 'ListWorkEfforts' at resource 
> 'component://workeffort/widget/WorkEffortForms.xml'
> java.lang.NullPointerException: Cannot invoke 
> "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null
> 2024-04-04 12:35:00,432 |-0.0.0.0-8009-exec-8 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named
> [MainActionMenu] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [MainActionMenu] in location [component://myportal/widget/MyPortalMenus.xml]
> 2024-04-04 12:34:49,329 |-0.0.0.0-8009-exec-5 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [RequestScreenletMenu] at location 
> [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [RequestScreenletMenu] in location 
> [component://myportal/widget/MyPortalMenus.xml]
>   at java.lang.Thread.run(Thread.java:840) [?:?]
> 2024-04-04 12:34:53,562 |0.0.0.0-8009-exec-10 |ControlServlet
> |E| Error in request handler:
> java.lang.RuntimeException: Error rendering included menu named 
> [PersonUpdate] at location [component://myportal/widget/MyPortalMenus.xml]: 
> java.lang.IllegalArgumentException: Could not find menu with name 
> [PersonUpdate] in location [component://myportal/widget/MyPortalMenus.xml]
>   at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Menu.getModelMenu(ModelScreenWidget.java:1648)
>  ~[ofbiz.jar:?]
> 2024-04-05 12:53:05,232 |-0.0.0.0-8009-exec-5 |FreeMarkerWorker  
> |E| null
> freemarker.core._MiscTemplateException: Macro "renderDateTimeField" has no 
> parameter with name "dateType". Valid parameter names are: name, className, 
> timeDropdownParamName, defaultDateTimeString, localizedIconTitle, 
> timeHourName, timeMinutesName, ampmName, compositeType, alert, isTimeType, 
> isDateType, amSelected, pmSelected, timeDropdown, classString, isTwelveHour, 
> hour1, hour2, minutes, shortDateInput, title, value, size, maxlength, id, 
> formName, mask, event, action, step, timeValues, tabindex, disabled, 
> isXMLHttpRequest
> 
> FTL stack trace ("~" means nesting-related):
>   - Failed at: @htmlTemplate.renderDateTimeField eve...  [in template 
> "component://ecommerce/template/catalog/ProductDetail.ftl" at line 726, 
> column 17]
> 2024-04-05 15:50:42,492 |-0.0.0.0-8009-exec-4 |UtilXml   
> |E| XmlFileLoader: F

[jira] [Closed] (OFBIZ-13124) CVE-2024-34750 Apache Tomcat - Denial of Service

2024-07-11 Thread Jacques Le Roux (Jira)


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

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

> CVE-2024-34750 Apache Tomcat - Denial of Service
> 
>
> Key: OFBIZ-13124
> URL: https://issues.apache.org/jira/browse/OFBIZ-13124
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: tomcat
>Affects Versions: 18.12.15
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.15
>
>
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
> 5 days later Tomcat 9.0.91 has been released, better use it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13124) CVE-2024-34750 Apache Tomcat - Denial of Service

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: CVE-2024-34750 Apache Tomcat - Denial of Service (OFBIZ-13124)

https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
5 days later Tomcat 9.0.91 has been released, better use it.


> CVE-2024-34750 Apache Tomcat - Denial of Service
> 
>
> Key: OFBIZ-13124
> URL: https://issues.apache.org/jira/browse/OFBIZ-13124
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: tomcat
>Affects Versions: 18.12.15
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.15
>
>
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
> 5 days later Tomcat 9.0.91 has been released, better use it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13124) CVE-2024-34750 Apache Tomcat - Denial of Service

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: CVE-2024-34750 Apache Tomcat - Denial of Service (OFBIZ-13124)

https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
5 days later Tomcat 9.0.91 has been released, better use it.


> CVE-2024-34750 Apache Tomcat - Denial of Service
> 
>
> Key: OFBIZ-13124
> URL: https://issues.apache.org/jira/browse/OFBIZ-13124
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: tomcat
>Affects Versions: 18.12.15
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.15
>
>
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
> 5 days later Tomcat 9.0.91 has been released, better use it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13124) CVE-2024-34750 Apache Tomcat - Denial of Service

2024-07-11 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: CVE-2024-34750 Apache Tomcat - Denial of Service (OFBIZ-13124)

https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
5 days later Tomcat 9.0.91 has been released, better use it.


> CVE-2024-34750 Apache Tomcat - Denial of Service
> 
>
> Key: OFBIZ-13124
> URL: https://issues.apache.org/jira/browse/OFBIZ-13124
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: tomcat
>Affects Versions: 18.12.15
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.15
>
>
> https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
> 5 days later Tomcat 9.0.91 has been released, better use it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OFBIZ-13124) CVE-2024-34750 Apache Tomcat - Denial of Service

2024-07-11 Thread Jacques Le Roux (Jira)
Jacques Le Roux created OFBIZ-13124:
---

 Summary: CVE-2024-34750 Apache Tomcat - Denial of Service
 Key: OFBIZ-13124
 URL: https://issues.apache.org/jira/browse/OFBIZ-13124
 Project: OFBiz
  Issue Type: Sub-task
  Components: tomcat
Affects Versions: 18.12.15
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
 Fix For: 18.12.15


https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.90
5 days later Tomcat 9.0.91 has been released, better use it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-13122) Error with executeMRP service

2024-07-10 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-13122:
-

It works locally with 18.12 version (HEAD). The problem could be due to 
https://github.com/apache/ofbiz-framework/commit/a19807e136. That needs some 
investigation...

> Error with executeMRP service
> -
>
> Key: OFBIZ-13122
> URL: https://issues.apache.org/jira/browse/OFBIZ-13122
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Reporter: Emad Radwan
>Assignee: Jacques Le Roux
>Priority: Major
>
> I'm working with the Manufacturing tutorial on Sharan's book - making tables 
> with wood, nails and varnish - when I run the MRP and as guided I got the 
> authentication error that - when searched - found that this was reported 
> before in the following thread but unfortunately when I applied the 
> workaround - noticed that the problem still there in the online demo - it 
> didn't work for me and I got the following error message which is not 
> describing exactly what is happening as I entered the 'facilityId' in the 
> params. 
>  
> facilityId and facilityGroupId cannot be both null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-12653) Sanitizer fail

2024-07-09 Thread Michael Brohl (Jira)


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

Michael Brohl reassigned OFBIZ-12653:
-

Assignee: Michael Brohl

> Sanitizer  fail
> ---
>
> Key: OFBIZ-12653
> URL: https://issues.apache.org/jira/browse/OFBIZ-12653
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Ingo Wolfmayr
>Assignee: Michael Brohl
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: CustomSafePolicy.patch, OFBIZ-12653.patch, 
> UtilCodec.patch
>
>
> I copied a text with multiple lines from a text editor into the Trumbowyg 
> Html field.The editor creates the Html structure using unclosed  elements.
> Unfortunately the sanitizer logic just takes . A security warning is 
> thrown and the content will not be stored.
> Issue also a request on Trumbowyg request list:
> [https://github.com/Alex-D/Trumbowyg/issues/1283]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (OFBIZ-12653) Sanitizer fail

2024-07-08 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-12653:
---

Assignee: (was: Jacques Le Roux)

> Sanitizer  fail
> ---
>
> Key: OFBIZ-12653
> URL: https://issues.apache.org/jira/browse/OFBIZ-12653
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Ingo Wolfmayr
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: CustomSafePolicy.patch, OFBIZ-12653.patch, 
> UtilCodec.patch
>
>
> I copied a text with multiple lines from a text editor into the Trumbowyg 
> Html field.The editor creates the Html structure using unclosed  elements.
> Unfortunately the sanitizer logic just takes . A security warning is 
> thrown and the content will not be stored.
> Issue also a request on Trumbowyg request list:
> [https://github.com/Alex-D/Trumbowyg/issues/1283]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12653) Sanitizer fail

2024-07-08 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12653:
-

Hi Michael,

Please feel free to do so.

> Sanitizer  fail
> ---
>
> Key: OFBIZ-12653
> URL: https://issues.apache.org/jira/browse/OFBIZ-12653
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Ingo Wolfmayr
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: CustomSafePolicy.patch, OFBIZ-12653.patch, 
> UtilCodec.patch
>
>
> I copied a text with multiple lines from a text editor into the Trumbowyg 
> Html field.The editor creates the Html structure using unclosed  elements.
> Unfortunately the sanitizer logic just takes . A security warning is 
> thrown and the content will not be stored.
> Issue also a request on Trumbowyg request list:
> [https://github.com/Alex-D/Trumbowyg/issues/1283]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Reopened] (OFBIZ-12653) Sanitizer fail

2024-07-08 Thread Michael Brohl (Jira)


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

Michael Brohl reopened OFBIZ-12653:
---

I'm sorry [~jleroux] and [~iwolf] ,

but the newly introduced solution is bad in several ways and does make more 
problems than it solves.

First, it breaks the functionality to use a configured custom sanitizer by 
introducing a new sanitizer which is run before the custom sanitizer.

Second, the TagBalancingHtmlStreamEventReceiver does alter the content by 
escaping it for some characters. The hard coded replacement of those changes is 
bad practice and will need a code change for every other alteration this class 
will do.

I strongly recommend to revert this change and work on a non-breaking solution.

> Sanitizer  fail
> ---
>
> Key: OFBIZ-12653
> URL: https://issues.apache.org/jira/browse/OFBIZ-12653
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Ingo Wolfmayr
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: CustomSafePolicy.patch, OFBIZ-12653.patch, 
> UtilCodec.patch
>
>
> I copied a text with multiple lines from a text editor into the Trumbowyg 
> Html field.The editor creates the Html structure using unclosed  elements.
> Unfortunately the sanitizer logic just takes . A security warning is 
> thrown and the content will not be stored.
> Issue also a request on Trumbowyg request list:
> [https://github.com/Alex-D/Trumbowyg/issues/1283]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


  1   2   3   4   5   6   7   8   9   10   >