[jira] [Comment Edited] (OFBIZ-12691) Extend HTML Sanitizer - style attribute

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


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

Jacques Le Roux edited comment on OFBIZ-12691 at 5/24/24 6:31 AM:
--

Commit 71cf2a8b8d9a0beea5960442706320561351f1f6 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=71cf2a8b8d ]

Improved: Extend HTML Sanitizer - style attribute (OFBIZ-12691)

This is a no functional changes. It makes things clearer.

I initially wanted to rather do that and forgot. The idea is to no change the
sanitization done by HtmlSanitizer.Policy(). We just need to be sure that the
comparison with unescapeEcmaScriptAndHtml4 works.

Maybe later we will figure out that some more HTML entities will need to be
added to 
{noformat}
"'" and """
{noformat}
...



was (Author: jira-bot):
Commit 71cf2a8b8d9a0beea5960442706320561351f1f6 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=71cf2a8b8d ]

Improved: Extend HTML Sanitizer - style attribute (OFBIZ-12691)

This is a no functional changes. It makes things clearer.

I initially wanted to rather do that and forgot. The idea is to no change the
sanitization done by HtmlSanitizer.Policy(). We just need to be sure that the
comparison with unescapeEcmaScriptAndHtml4 works.

Maybe later we will figure out that some more HTML entities will need to be
added to "'" and """...


> Extend HTML Sanitizer - style attribute
> ---
>
> Key: OFBIZ-12691
> URL: https://issues.apache.org/jira/browse/OFBIZ-12691
> 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: SanitizerStyle.patch
>
>
> Right now it is not possible to assign inline style to html content. 
> Trumbowyg Editor uses such tags for align paragraphs.
> style="text-align:right"
> It is necessary to remove space within the attribute and remove the trailing 
> semicolon in order to apply with OWASP filter rules.
> Create or open content with "Long text". Goto dataresource and edit HTML. Put 
> in some text and use the align icons (right, center ...) to format the text. 
> Save. You will get a security info.



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


[jira] [Comment Edited] (OFBIZ-12691) Extend HTML Sanitizer - style attribute

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


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

Jacques Le Roux edited comment on OFBIZ-12691 at 5/24/24 6:31 AM:
--

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

Improved: Extend HTML Sanitizer - style attribute (OFBIZ-12691)

This is a no functional changes. It makes things clearer.

I initially wanted to rather do that and forgot. The idea is to no change the
sanitization done by HtmlSanitizer.Policy(). We just need to be sure that the
comparison with unescapeEcmaScriptAndHtml4 works.

Maybe later we will figure out that some more HTML entities will need to be
added to 
{noformat}
"'" and """
{noformat}
...



was (Author: jira-bot):
Commit c005971e4be56ef7928a6f7d0b7f438e4aa64765 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c005971e4b ]

Improved: Extend HTML Sanitizer - style attribute (OFBIZ-12691)

This is a no functional changes. It makes things clearer.

I initially wanted to rather do that and forgot. The idea is to no change the
sanitization done by HtmlSanitizer.Policy(). We just need to be sure that the
comparison with unescapeEcmaScriptAndHtml4 works.

Maybe later we will figure out that some more HTML entities will need to be
added to "'" and """...


> Extend HTML Sanitizer - style attribute
> ---
>
> Key: OFBIZ-12691
> URL: https://issues.apache.org/jira/browse/OFBIZ-12691
> 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: SanitizerStyle.patch
>
>
> Right now it is not possible to assign inline style to html content. 
> Trumbowyg Editor uses such tags for align paragraphs.
> style="text-align:right"
> It is necessary to remove space within the attribute and remove the trailing 
> semicolon in order to apply with OWASP filter rules.
> Create or open content with "Long text". Goto dataresource and edit HTML. Put 
> in some text and use the align icons (right, center ...) to format the text. 
> Save. You will get a security info.



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


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

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


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

Jacques Le Roux commented on OFBIZ-12653:
-

BTW could you not replace exam...@example.com by example at example.com?

> 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)


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

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


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

Jacques Le Roux commented on OFBIZ-12653:
-

Hi Chenghu Shan,

When you say the last commit I guess you speak about the trunk? Because the 
22.01 branch has been somehow deprecated.

> 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)


[jira] [Commented] (OFBIZ-12765) Improvement to createPartyRelationship service

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl commented on OFBIZ-12765:
---

[~thahn] sorry, I meant to address this to [~cshan] 

> Improvement to createPartyRelationship service 
> ---
>
> Key: OFBIZ-12765
> URL: https://issues.apache.org/jira/browse/OFBIZ-12765
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Minor
>
> Currently, createPartyRelationship service does not allow the creation of a 
> new PartyRelationship of the same parties until the thruDate has passed. This 
> also disallows the creation new PartyRelationships of the same parties beyond 
> that thruDate.
> This improvement checks for time interval conflicts and allows the creation 
> of a different PartyRelationship of the same parties before the thruDate has 
> passed.



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


[jira] [Commented] (OFBIZ-12765) Improvement to createPartyRelationship service

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl commented on OFBIZ-12765:
---

[~thahn] can you please resolve the PR conflicts and provide an new PR, thanks!

> Improvement to createPartyRelationship service 
> ---
>
> Key: OFBIZ-12765
> URL: https://issues.apache.org/jira/browse/OFBIZ-12765
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Minor
>
> Currently, createPartyRelationship service does not allow the creation of a 
> new PartyRelationship of the same parties until the thruDate has passed. This 
> also disallows the creation new PartyRelationships of the same parties beyond 
> that thruDate.
> This improvement checks for time interval conflicts and allows the creation 
> of a different PartyRelationship of the same parties before the thruDate has 
> passed.



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


[jira] [Commented] (OFBIZ-12815) EntityUtil getProperty Methods dont use entity

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl commented on OFBIZ-12815:
---

[~thahn] please check the comments in the pull requests, thanks!

> EntityUtil getProperty Methods dont use entity
> --
>
> Key: OFBIZ-12815
> URL: https://issues.apache.org/jira/browse/OFBIZ-12815
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/entity
>Affects Versions: 18.12.07
>Reporter: Tobias Hahn
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> The getProperty methods in EntityUtilProperties don't use entity at all. All 
> of the getProperty methods simply lead to UtilProperties and therefore no 
> configure during runtime is possible. New methods have been written so the 
> entity usage is now functional.
> Due to a wrong commit description/title the PR #634 were closed. i opened a 
> new PR #635. 
> Also i will adjust the code with an upcoming commit, thanks to Gil who 
> commented on PR #634.



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


[jira] [Closed] (OFBIZ-12829) Improvements for ContentWorker methods and view-entities

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl closed OFBIZ-12829.
-
Fix Version/s: Upcoming Branch
   Resolution: Implemented

Thanks [~cshan] !

> Improvements for ContentWorker methods and view-entities
> 
>
> Key: OFBIZ-12829
> URL: https://issues.apache.org/jira/browse/OFBIZ-12829
> Project: OFBiz
>  Issue Type: Improvement
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> Adds additional methods to ContentWorker:
>  * New method findAlternateLocalContents to find all alternate locale 
> contents instead of just one specific.
>  * Overloaded methods of findAlternateLocalContents and 
> findAlternateLocalContent to enable/disable cache use.
>  * These methods are no longer case sensitive when comparing localeStrings
> Changes to view-entites ProductContentAndInfo and 
> ProductCategoryContentAndInfo:
>  * Both now use an outer join instead of inner join between DataResource and 
> Content, because there may be a Content object without a DataResource for its 
> locale but with alternate locale content objects associated to it.



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


[jira] [Commented] (OFBIZ-12829) Improvements for ContentWorker methods and view-entities

2024-05-23 Thread ASF subversion and git services (Jira)


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

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

Commit e7420fe4cf40f21e03bba3566d9b99d63a6e79a5 in ofbiz-framework's branch 
refs/heads/trunk from Cheng Hu Shan
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e7420fe4cf ]

Improvements for ContentWorker methods and view-entities (OFBIZ-12829)

> Improvements for ContentWorker methods and view-entities
> 
>
> Key: OFBIZ-12829
> URL: https://issues.apache.org/jira/browse/OFBIZ-12829
> Project: OFBiz
>  Issue Type: Improvement
>  Components: content
>Affects Versions: Upcoming Branch
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Minor
>
> Adds additional methods to ContentWorker:
>  * New method findAlternateLocalContents to find all alternate locale 
> contents instead of just one specific.
>  * Overloaded methods of findAlternateLocalContents and 
> findAlternateLocalContent to enable/disable cache use.
>  * These methods are no longer case sensitive when comparing localeStrings
> Changes to view-entites ProductContentAndInfo and 
> ProductCategoryContentAndInfo:
>  * Both now use an outer join instead of inner join between DataResource and 
> Content, because there may be a Content object without a DataResource for its 
> locale but with alternate locale content objects associated to it.



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


Re: [PR] Improvements for ContentWorker methods and view-entities (OFBIZ-12829) [ofbiz-framework]

2024-05-23 Thread via GitHub


mbrohl merged PR #643:
URL: https://github.com/apache/ofbiz-framework/pull/643


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Closed] (OFBIZ-12843) Refactoring WebSiteProperties.java

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl closed OFBIZ-12843.
-
Fix Version/s: Upcoming Branch
   Resolution: Implemented

Thanks [~cshan] !

> Refactoring WebSiteProperties.java
> --
>
> Key: OFBIZ-12843
> URL: https://issues.apache.org/jira/browse/OFBIZ-12843
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Trivial
> Fix For: Upcoming Branch
>
>
> Class WebSiteProperties.java contains some duplicate code and should be 
> refactored.



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


[jira] [Commented] (OFBIZ-12843) Refactoring WebSiteProperties.java

2024-05-23 Thread ASF subversion and git services (Jira)


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

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

Commit a1e700b7d2d801d0c74298ca22c28c2e373281d9 in ofbiz-framework's branch 
refs/heads/trunk from Cheng Hu Shan
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a1e700b7d2 ]

Improved: Refactoring WebSiteProperties.java (OFBIZ-12843)

> Refactoring WebSiteProperties.java
> --
>
> Key: OFBIZ-12843
> URL: https://issues.apache.org/jira/browse/OFBIZ-12843
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Trivial
>
> Class WebSiteProperties.java contains some duplicate code and should be 
> refactored.



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


Re: [PR] Improved: Refactoring WebSiteProperties.java (OFBIZ-12843) [ofbiz-framework]

2024-05-23 Thread via GitHub


mbrohl merged PR #667:
URL: https://github.com/apache/ofbiz-framework/pull/667


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (OFBIZ-12843) Refactoring WebSiteProperties.java

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl reassigned OFBIZ-12843:
-

Assignee: Michael Brohl  (was: Chenghu Shan)

> Refactoring WebSiteProperties.java
> --
>
> Key: OFBIZ-12843
> URL: https://issues.apache.org/jira/browse/OFBIZ-12843
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp
>Reporter: Chenghu Shan
>Assignee: Michael Brohl
>Priority: Trivial
>
> Class WebSiteProperties.java contains some duplicate code and should be 
> refactored.



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


[jira] [Closed] (OFBIZ-12886) Apply orderItemAttributes when adding to Shoppingcart from addToCartFromOrder

2024-05-23 Thread Michael Brohl (Jira)


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

Michael Brohl closed OFBIZ-12886.
-
Fix Version/s: Upcoming Branch
   Resolution: Fixed

Thanks [~elolaki] !

> Apply orderItemAttributes when adding to Shoppingcart from addToCartFromOrder
> -
>
> Key: OFBIZ-12886
> URL: https://issues.apache.org/jira/browse/OFBIZ-12886
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Upcoming Branch
>Reporter: Elaheh Lolaki
>Assignee: Michael Brohl
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> When adding products with an attribute, these are not transferred via the 
> addToCartFromOrder function



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


[jira] [Commented] (OFBIZ-12886) Apply orderItemAttributes when adding to Shoppingcart from addToCartFromOrder

2024-05-23 Thread ASF subversion and git services (Jira)


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

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

Commit da3e353e51ac270c328c1f307d4c77ed356a8c75 in ofbiz-framework's branch 
refs/heads/trunk from Elaheh Lolaki
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=da3e353e51 ]

Fixed: Apply orderItemAttributes when adding to Shoppingcart from
addToCartFromOrder. (OFBIZ-12886)

> Apply orderItemAttributes when adding to Shoppingcart from addToCartFromOrder
> -
>
> Key: OFBIZ-12886
> URL: https://issues.apache.org/jira/browse/OFBIZ-12886
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Upcoming Branch
>Reporter: Elaheh Lolaki
>Assignee: Michael Brohl
>Priority: Minor
>
> When adding products with an attribute, these are not transferred via the 
> addToCartFromOrder function



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


Re: [PR] Fixed: Apply orderItemAttributes when adding to Shoppingcart from addToCartFromOrder. (OFBIZ-12886) [ofbiz-framework]

2024-05-23 Thread via GitHub


mbrohl merged PR #685:
URL: https://github.com/apache/ofbiz-framework/pull/685


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] FIxed: Miss UI User message for pprojecgtmgr (OFBIZ-13015) [ofbiz-plugins]

2024-05-23 Thread via GitHub


JacquesLeRoux commented on PR #123:
URL: https://github.com/apache/ofbiz-plugins/pull/123#issuecomment-2126404606

   Closing, not the right solution unless proved otherwise


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] FIxed: Miss UI User message for pprojecgtmgr (OFBIZ-13015) [ofbiz-plugins]

2024-05-23 Thread via GitHub


JacquesLeRoux closed pull request #123: FIxed: Miss UI User message for 
pprojecgtmgr (OFBIZ-13015)
URL: https://github.com/apache/ofbiz-plugins/pull/123


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Closed] (OFBIZ-13098) createTimesheetForThisWeek as admin fails

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


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

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

> createTimesheetForThisWeek as admin fails
> -
>
> Key: OFBIZ-13098
> URL: https://issues.apache.org/jira/browse/OFBIZ-13098
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort/workeffort
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
>
> It works in 18.12
> Here is the error in UI:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [createTimesheetForThisWeek]; this request does not exist or cannot be called 
> directly.
> In log:
> 2024-05-23 08:40:43,872 |jsse-nio-8443-exec-3 |ControlServlet
> |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [createTimesheetForThisWeek]; this request does not exist or cannot be called 
> directly.



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


[jira] [Commented] (OFBIZ-12262) Execute a callback with parameters from the request

2024-05-23 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: createTimesheetForThisWeek as admin fails (OFBIZ-13098)

At least the below block of controller request-maps was removed by OFBIZ-12262













Maybe more there are a log of changes in the controller


> Execute a callback with parameters from the request
> ---
>
> Key: OFBIZ-12262
> URL: https://issues.apache.org/jira/browse/OFBIZ-12262
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework/widget
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Gil Portenseigne
>Priority: Minor
> Attachments: 
> 0001-Execute-a-callback-with-parameters-from-the-request-.patch
>
>
> With the new element set-callback (OFBIZ-11812) we have the possibility to 
> call a request with event and wait the success/error before continue and 
> update an area.
> If the event generate a new value (createProduct, createPerson, ...) where we 
> need it for update the area, we can't generate the call.
> A possible idea would be add a new parameter type when we define a callback 
> to indicate that we will wait the event return to resolve the value. Like
> {code:java}
> 
>     
> {code}



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


[jira] [Commented] (OFBIZ-13098) createTimesheetForThisWeek as admin fails

2024-05-23 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: createTimesheetForThisWeek as admin fails (OFBIZ-13098)

At least the below block of controller request-maps was removed by OFBIZ-12262













Maybe more there are a log of changes in the controller


> createTimesheetForThisWeek as admin fails
> -
>
> Key: OFBIZ-13098
> URL: https://issues.apache.org/jira/browse/OFBIZ-13098
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort/workeffort
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Major
>
> It works in 18.12
> Here is the error in UI:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [createTimesheetForThisWeek]; this request does not exist or cannot be called 
> directly.
> In log:
> 2024-05-23 08:40:43,872 |jsse-nio-8443-exec-3 |ControlServlet
> |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [createTimesheetForThisWeek]; this request does not exist or cannot be called 
> directly.



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