[jira] [Commented] (OFBIZ-12263) Cannot compile plugins with dependencies in other repositories - clojars repo

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl commented on OFBIZ-12263:
---

Hi Eugen,

I think this should be a change/mod in your custom repository. We should not 
add custom dependencies to the build file which are not used by the project 
itself.

> Cannot compile plugins with dependencies in other repositories - clojars repo
> -
>
> Key: OFBIZ-12263
> URL: https://issues.apache.org/jira/browse/OFBIZ-12263
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> I would like to build a plugin that contains a dependency from Clojars 
> repository.
> [https://github.com/netdava/ofbiz-clojure-repl]
> Clojuras is not in the list of OFBiz repositories and the plugin fails to 
> build.
> Adding clojars to the plugin repository configuration does not work.
>  
> Adding clojars to the main gradle project (in subprojects repository) works.
> However this approach leads to add all repos in main project and possibly 
> upstream.
>  
> I think another approach is necessary for this.
> A solution would be to make the plugins more independent from the main 
> project.
> This could be achieved by using a BOM ?
> [https://dzone.com/articles/gradle-goodness-use-bill-of-materials-bom-as-depen]
> [https://docs.gradle.org/current/userguide/platforms.html#sub:using-platform-to-control-transitive-deps]
> This will probably require to publish ofbiz binaries.
>  
> ML discussion: [ 
> https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E|https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E]
> [https://docs.gradle.org/current/userguide/declaring_repositories.html]
> [https://discuss.gradle.org/t/repositories-in-subprojects/23596/2]
>  



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


[jira] [Updated] (OFBIZ-12263) Cannot compile plugins with dependencies in other repositories - clojars repo

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12263:
--
Issue Type: New Feature  (was: Bug)

> Cannot compile plugins with dependencies in other repositories - clojars repo
> -
>
> Key: OFBIZ-12263
> URL: https://issues.apache.org/jira/browse/OFBIZ-12263
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> I would like to build a plugin that contains a dependency from Clojars 
> repository.
> [https://github.com/netdava/ofbiz-clojure-repl]
> Clojuras is not in the list of OFBiz repositories and the plugin fails to 
> build.
> Adding clojars to the plugin repository configuration does not work.
>  
> Adding clojars to the main gradle project (in subprojects repository) works.
> However this approach leads to add all repos in main project and possibly 
> upstream.
>  
> I think another approach is necessary for this.
> A solution would be to make the plugins more independent from the main 
> project.
> This could be achieved by using a BOM ?
> [https://dzone.com/articles/gradle-goodness-use-bill-of-materials-bom-as-depen]
> [https://docs.gradle.org/current/userguide/platforms.html#sub:using-platform-to-control-transitive-deps]
> This will probably require to publish ofbiz binaries.
>  
> ML discussion: [ 
> https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E|https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E]
> [https://docs.gradle.org/current/userguide/declaring_repositories.html]
> [https://discuss.gradle.org/t/repositories-in-subprojects/23596/2]
>  



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


[jira] [Updated] (OFBIZ-12263) Cannot compile plugins with dependencies in other repositories - clojars repo

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12263:
--
Priority: Minor  (was: Major)

> Cannot compile plugins with dependencies in other repositories - clojars repo
> -
>
> Key: OFBIZ-12263
> URL: https://issues.apache.org/jira/browse/OFBIZ-12263
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Ioan Eugen Stan
>Priority: Minor
>
> I would like to build a plugin that contains a dependency from Clojars 
> repository.
> [https://github.com/netdava/ofbiz-clojure-repl]
> Clojuras is not in the list of OFBiz repositories and the plugin fails to 
> build.
> Adding clojars to the plugin repository configuration does not work.
>  
> Adding clojars to the main gradle project (in subprojects repository) works.
> However this approach leads to add all repos in main project and possibly 
> upstream.
>  
> I think another approach is necessary for this.
> A solution would be to make the plugins more independent from the main 
> project.
> This could be achieved by using a BOM ?
> [https://dzone.com/articles/gradle-goodness-use-bill-of-materials-bom-as-depen]
> [https://docs.gradle.org/current/userguide/platforms.html#sub:using-platform-to-control-transitive-deps]
> This will probably require to publish ofbiz binaries.
>  
> ML discussion: [ 
> https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E|https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E]
> [https://docs.gradle.org/current/userguide/declaring_repositories.html]
> [https://discuss.gradle.org/t/repositories-in-subprojects/23596/2]
>  



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


[jira] [Updated] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-12259:

Fix Version/s: Release Branch 17.12

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01, Release Branch 17.12
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: SeoConfigUtil does not maintain char-replace order (OFBIZ-12259)

Thanks: Ingo Wolfmayr for your contribution


> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Updated] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-12259:

Fix Version/s: (was: Upcoming Branch)

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)

Adds missing ASL2 header, uses the same root element than other web.xml files


> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread Xin Wang (Jira)


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

Xin Wang commented on OFBIZ-12255:
--

Hi [~jleroux], thanks! all is committed, confirmed. :)

> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Comment Edited] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne edited comment on OFBIZ-12259 at 6/22/21, 3:32 PM:


Commited in release18 and trunk, since 17.12.07 is the final release of 
release17 branch.

Thanks


was (Author: gil portenseigne):
Commited in release18 and trunk, since 17.12.07 is the final released.

Thanks

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12255:
-

Hi Wang,

We somehw crossed on wire. I spotted it too, just fixed it before receiving an 
email noticing your comment, there was issues with commits emails (below 
exchange in #asfinfra Slack channel):

{quote}
Humbedooh  09:54
09:58
@Michael Brohl do you mean the emails associated with PRs? if so, those have 
been a bit wonky in the past two days. There appears to be a queue issue with 
our AWS backend
{quote}

Anyway all is OK now, thanks for your comment :)

> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne commented on OFBIZ-12259:
--

Commited in release18 and trunk, since 17.12.07 is the final released.

Thanks

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Closed] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne closed OFBIZ-12259.

Resolution: Fixed

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Updated] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne updated OFBIZ-12259:
-
Fix Version/s: (was: Release Branch 17.12)
   (was: Trunk)
   Upcoming Branch
   18.12.01

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

Commit 4e4d7144f73f083e9e122591598d28fabec08c23 in ofbiz-framework's branch 
refs/heads/release18.12 from Gil Portenseigne
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4e4d714 ]

Fixed: SeoConfigUtil does not maintain char-replace order (OFBIZ-12259)

Thanks: Ingo Wolfmayr for your contribution


> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: Release Branch 17.12, Trunk
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

Commit 69cea81b12258f79a859f433b93d9de830b983b3 in ofbiz-framework's branch 
refs/heads/trunk from Gil Portenseigne
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=69cea81 ]

Fixed: SeoConfigUtil does not maintain char-replace order (OFBIZ-12259)

Thanks: Ingo Wolfmayr for your contribution


> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: Release Branch 17.12, Trunk
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)

Forgot to add/commit/push the new main, for session duration, web.xml file


> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)

Currently, session timeout is configured in apps separately, but session is
shared globally, so the smallest one take effects, and it will not take effect
separately for different apps.

Then it is both inconvenient and confusing to increase session timeout value,
as all values in those files need to be updated.

A global web.xml is needed, to simplify session timeout configuration.

Thanks: Xin Wang


> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread Xin Wang (Jira)


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

Xin Wang commented on OFBIZ-12255:
--

Thanks, [~jleroux].

BTW, skimming through the commit message, it seems that newly added file 
{{framework/catalina/config/web.xml}} is missing in the commit, which is 
contained in the patch file.

> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Updated] (OFBIZ-12258) Adding tel protocol in CustomPermissivePolicy is not working

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12258:
--
Affects Version/s: Trunk

> Adding tel protocol in CustomPermissivePolicy is not working
> 
>
> Key: OFBIZ-12258
> URL: https://issues.apache.org/jira/browse/OFBIZ-12258
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wiebke Pätzold
>Assignee: Michael Brohl
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
>
> At the moment it is not possible to allow the tel protocol via the 
> CustomPermissivePolicy. The problem is that already in Sanitizers.LINKS the 
> href attribute is allowed for HTTP, HTTPS and MAILTO.
> When checking the policies in org.owasp.html.JoinedAttributePolicy
> {code:java}
>   public @Nullable String apply(
>   String elementName, String attributeName, @Nullable String value) {
> for (AttributePolicy p : policies) {
>   if (value == null) { break; }
>   value = p.apply(elementName, attributeName, value);
> }
> return value;
>   }
> {code}
> It is obvious that each policy must be satisfied to allow an attribute with 
> corresponding values. In the case of the tell protocol, there are now several 
> policies, the Cusomized policy which allows the protocol (I added it there) 
> and the Standard policy which does not. For this reason it is currently not 
> possible to allow the tel protocol via the CustomPermissivePolicy.
>  



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


[jira] [Updated] (OFBIZ-12258) Adding tel protocol in CustomPermissivePolicy is not working

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl updated OFBIZ-12258:
--
Affects Version/s: 18.12.01

> Adding tel protocol in CustomPermissivePolicy is not working
> 
>
> Key: OFBIZ-12258
> URL: https://issues.apache.org/jira/browse/OFBIZ-12258
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: 18.12.01, Trunk
>Reporter: Wiebke Pätzold
>Assignee: Michael Brohl
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
>
> At the moment it is not possible to allow the tel protocol via the 
> CustomPermissivePolicy. The problem is that already in Sanitizers.LINKS the 
> href attribute is allowed for HTTP, HTTPS and MAILTO.
> When checking the policies in org.owasp.html.JoinedAttributePolicy
> {code:java}
>   public @Nullable String apply(
>   String elementName, String attributeName, @Nullable String value) {
> for (AttributePolicy p : policies) {
>   if (value == null) { break; }
>   value = p.apply(elementName, attributeName, value);
> }
> return value;
>   }
> {code}
> It is obvious that each policy must be satisfied to allow an attribute with 
> corresponding values. In the case of the tell protocol, there are now several 
> policies, the Cusomized policy which allows the protocol (I added it there) 
> and the Standard policy which does not. For this reason it is currently not 
> possible to allow the tel protocol via the CustomPermissivePolicy.
>  



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


[jira] [Updated] (OFBIZ-12258) Adding tel protocol in CustomPermissivePolicy is not working

2021-06-22 Thread Michael Brohl (Jira)


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

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

> Adding tel protocol in CustomPermissivePolicy is not working
> 
>
> Key: OFBIZ-12258
> URL: https://issues.apache.org/jira/browse/OFBIZ-12258
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wiebke Pätzold
>Assignee: Michael Brohl
>Priority: Major
> Fix For: 18.12.01, Upcoming Branch
>
>
> At the moment it is not possible to allow the tel protocol via the 
> CustomPermissivePolicy. The problem is that already in Sanitizers.LINKS the 
> href attribute is allowed for HTTP, HTTPS and MAILTO.
> When checking the policies in org.owasp.html.JoinedAttributePolicy
> {code:java}
>   public @Nullable String apply(
>   String elementName, String attributeName, @Nullable String value) {
> for (AttributePolicy p : policies) {
>   if (value == null) { break; }
>   value = p.apply(elementName, attributeName, value);
> }
> return value;
>   }
> {code}
> It is obvious that each policy must be satisfied to allow an attribute with 
> corresponding values. In the case of the tell protocol, there are now several 
> policies, the Cusomized policy which allows the protocol (I added it there) 
> and the Standard policy which does not. For this reason it is currently not 
> possible to allow the tel protocol via the CustomPermissivePolicy.
>  



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


[jira] [Closed] (OFBIZ-12258) Adding tel protocol in CustomPermissivePolicy is not working

2021-06-22 Thread Michael Brohl (Jira)


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

Michael Brohl closed OFBIZ-12258.
-
Fix Version/s: 18.12.01
   Resolution: Fixed

This is now backported to 18.12 as well.

> Adding tel protocol in CustomPermissivePolicy is not working
> 
>
> Key: OFBIZ-12258
> URL: https://issues.apache.org/jira/browse/OFBIZ-12258
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wiebke Pätzold
>Assignee: Michael Brohl
>Priority: Major
>  Labels: backport-needed
> Fix For: 18.12.01, Upcoming Branch
>
>
> At the moment it is not possible to allow the tel protocol via the 
> CustomPermissivePolicy. The problem is that already in Sanitizers.LINKS the 
> href attribute is allowed for HTTP, HTTPS and MAILTO.
> When checking the policies in org.owasp.html.JoinedAttributePolicy
> {code:java}
>   public @Nullable String apply(
>   String elementName, String attributeName, @Nullable String value) {
> for (AttributePolicy p : policies) {
>   if (value == null) { break; }
>   value = p.apply(elementName, attributeName, value);
> }
> return value;
>   }
> {code}
> It is obvious that each policy must be satisfied to allow an attribute with 
> corresponding values. In the case of the tell protocol, there are now several 
> policies, the Cusomized policy which allows the protocol (I added it there) 
> and the Standard policy which does not. For this reason it is currently not 
> possible to allow the tel protocol via the CustomPermissivePolicy.
>  



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


[jira] [Commented] (OFBIZ-12258) Adding tel protocol in CustomPermissivePolicy is not working

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

Commit 1f0797d5f32c8c040963a0b96196aaebaf9152ae in ofbiz-framework's branch 
refs/heads/release18.12 from Wiebke Pätzold
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1f0797d ]

Fixed: Adding tel protocol in CustomPermissivePolicy is not working
(OFBIZ-12258)

With these changes, the default sanitizers rules are only loaded if
there is no CustomPermissivePolicy

> Adding tel protocol in CustomPermissivePolicy is not working
> 
>
> Key: OFBIZ-12258
> URL: https://issues.apache.org/jira/browse/OFBIZ-12258
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wiebke Pätzold
>Assignee: Michael Brohl
>Priority: Major
>  Labels: backport-needed
> Fix For: Upcoming Branch
>
>
> At the moment it is not possible to allow the tel protocol via the 
> CustomPermissivePolicy. The problem is that already in Sanitizers.LINKS the 
> href attribute is allowed for HTTP, HTTPS and MAILTO.
> When checking the policies in org.owasp.html.JoinedAttributePolicy
> {code:java}
>   public @Nullable String apply(
>   String elementName, String attributeName, @Nullable String value) {
> for (AttributePolicy p : policies) {
>   if (value == null) { break; }
>   value = p.apply(elementName, attributeName, value);
> }
> return value;
>   }
> {code}
> It is obvious that each policy must be satisfied to allow an attribute with 
> corresponding values. In the case of the tell protocol, there are now several 
> policies, the Cusomized policy which allows the protocol (I added it there) 
> and the Standard policy which does not. For this reason it is currently not 
> possible to allow the tel protocol via the CustomPermissivePolicy.
>  



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


[GitHub] [ofbiz-framework] sonarcloud[bot] commented on pull request #304: OFBIZ-12263 Added clojars repository

2021-06-22 Thread GitBox


sonarcloud[bot] commented on pull request #304:
URL: https://github.com/apache/ofbiz-framework/pull/304#issuecomment-865768643


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=VULNERABILITY)
  
   [](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=304=false=SECURITY_HOTSPOT)
 [](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=304=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=304=false=SECURITY_HOTSPOT)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=304=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=304)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=304=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=304=new_duplicated_lines_density=list)
   
   


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

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




[jira] [Commented] (OFBIZ-12263) Cannot compile plugins with dependencies in other repositories - clojars repo

2021-06-22 Thread Ioan Eugen Stan (Jira)


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

Ioan Eugen Stan commented on OFBIZ-12263:
-

I've added a PR to fix the clojars issue but the underline issue remains 
unresolved: We don't have a clean way to develop plugins with private 
repositories / a way for plugins to decide the repositories they use for 
dependencies.

 

https://github.com/apache/ofbiz-framework/pull/304/files

> Cannot compile plugins with dependencies in other repositories - clojars repo
> -
>
> Key: OFBIZ-12263
> URL: https://issues.apache.org/jira/browse/OFBIZ-12263
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> I would like to build a plugin that contains a dependency from Clojars 
> repository.
> [https://github.com/netdava/ofbiz-clojure-repl]
> Clojuras is not in the list of OFBiz repositories and the plugin fails to 
> build.
> Adding clojars to the plugin repository configuration does not work.
>  
> Adding clojars to the main gradle project (in subprojects repository) works.
> However this approach leads to add all repos in main project and possibly 
> upstream.
>  
> I think another approach is necessary for this.
> A solution would be to make the plugins more independent from the main 
> project.
> This could be achieved by using a BOM ?
> [https://dzone.com/articles/gradle-goodness-use-bill-of-materials-bom-as-depen]
> [https://docs.gradle.org/current/userguide/platforms.html#sub:using-platform-to-control-transitive-deps]
> This will probably require to publish ofbiz binaries.
>  
> ML discussion: [ 
> https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E|https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E]
> [https://docs.gradle.org/current/userguide/declaring_repositories.html]
> [https://discuss.gradle.org/t/repositories-in-subprojects/23596/2]
>  



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


[GitHub] [ofbiz-framework] ieugen opened a new pull request #304: OFBIZ-12263 Added clojars repository

2021-06-22 Thread GitBox


ieugen opened a new pull request #304:
URL: https://github.com/apache/ofbiz-framework/pull/304


   Fixed: OFBIZ-12263
   
   Explanation: Added clojars repo to OFBIz for clojure plugins support
   


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

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




[jira] [Created] (OFBIZ-12263) Cannot compile plugins with dependencies in other repositories - clojars repo

2021-06-22 Thread Ioan Eugen Stan (Jira)
Ioan Eugen Stan created OFBIZ-12263:
---

 Summary: Cannot compile plugins with dependencies in other 
repositories - clojars repo
 Key: OFBIZ-12263
 URL: https://issues.apache.org/jira/browse/OFBIZ-12263
 Project: OFBiz
  Issue Type: Bug
Reporter: Ioan Eugen Stan


I would like to build a plugin that contains a dependency from Clojars 
repository.

[https://github.com/netdava/ofbiz-clojure-repl]

Clojuras is not in the list of OFBiz repositories and the plugin fails to build.

Adding clojars to the plugin repository configuration does not work.

 

Adding clojars to the main gradle project (in subprojects repository) works.

However this approach leads to add all repos in main project and possibly 
upstream.

 

I think another approach is necessary for this.

A solution would be to make the plugins more independent from the main project.

This could be achieved by using a BOM ?

[https://dzone.com/articles/gradle-goodness-use-bill-of-materials-bom-as-depen]

[https://docs.gradle.org/current/userguide/platforms.html#sub:using-platform-to-control-transitive-deps]

This will probably require to publish ofbiz binaries.

 

ML discussion: [ 
https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E|https://lists.apache.org/thread.html/rc8151611a7946b2e9be88755fd44b89af66356941613f4ddff9cdf17%40%3Cdev.ofbiz.apache.org%3E]

[https://docs.gradle.org/current/userguide/declaring_repositories.html]

[https://discuss.gradle.org/t/repositories-in-subprojects/23596/2]

 



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


[jira] [Assigned] (OFBIZ-12259) SeoConfigUtil does not maintaince char-replace-order

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne reassigned OFBIZ-12259:


Assignee: Gil Portenseigne

> SeoConfigUtil does not maintaince char-replace-order
> 
>
> Key: OFBIZ-12259
> URL: https://issues.apache.org/jira/browse/OFBIZ-12259
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Ingo Wolfmayr
>Assignee: Gil Portenseigne
>Priority: Major
> Fix For: Release Branch 17.12, Trunk
>
> Attachments: ofbiz17x.patch, trunk.patch
>
>
> Replacing chars must be done in the order it is configured in SeoConfig.xml. 
> If not the generic pattern will replace chars before the defined char filters 
> are applied.
> I created a patch for trunk and version 17.12.x (same for 18.12.x).



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


[jira] [Closed] (OFBIZ-11813) Add sub-screen decorator DetailScreenDecorator and EmbeddedDecorator

2021-06-22 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne closed OFBIZ-11813.

Fix Version/s: Upcoming Branch
   Resolution: Implemented

> Add sub-screen decorator DetailScreenDecorator and EmbeddedDecorator
> 
>
> Key: OFBIZ-11813
> URL: https://issues.apache.org/jira/browse/OFBIZ-11813
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework/widget
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Gil Portenseigne
>Priority: Major
>  Labels: decorator, screen, theme, widget
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11813.patch
>
>
> To homogenize and help each theme to implement correctly the screen engine 
> concept. We adding 2 sub-decorators like 'FindScreenDecorator'
> DetailScreenDecorator: to display a functional element
>  EmbeddedDecorator: to help technology implementation to prepare include and 
> embedded screen



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


[jira] [Commented] (OFBIZ-11813) Add sub-screen decorator DetailScreenDecorator and EmbeddedDecorator

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

Commit 38d4ef69b48a7ca4017406dfb0590f9ae8b4cfcf in ofbiz-framework's branch 
refs/heads/trunk from Gil Portenseigne
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=38d4ef6 ]

Implemented : Add sub-screen decorator DetailScreenDecorator and 
EmbeddedDecorator
(OFBIZ-11813)

To homogenize and help each theme to implement correctly the screen engine 
concept,
we add two sub-decorators like existing 'FindScreenDecorator'.

DetailScreenDecorator can be used to display a sum up of an object and
its related data.

Embedded Decorator can be used to inject a specific screen in an
structured page area.

Those are composed of several sections that can be handled by the
theme for specific display.

Thanks Nicolas


> Add sub-screen decorator DetailScreenDecorator and EmbeddedDecorator
> 
>
> Key: OFBIZ-11813
> URL: https://issues.apache.org/jira/browse/OFBIZ-11813
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework/widget
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Gil Portenseigne
>Priority: Major
>  Labels: decorator, screen, theme, widget
> Attachments: OFBIZ-11813.patch
>
>
> To homogenize and help each theme to implement correctly the screen engine 
> concept. We adding 2 sub-decorators like 'FindScreenDecorator'
> DetailScreenDecorator: to display a functional element
>  EmbeddedDecorator: to help technology implementation to prepare include and 
> embedded screen



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


[jira] [Closed] (OFBIZ-12260) Xml Element Link type hidden-form fail to resolve the form

2021-06-22 Thread Nicolas Malin (Jira)


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

Nicolas Malin closed OFBIZ-12260.
-
Fix Version/s: Upcoming Branch
   Resolution: Fixed

> Xml Element Link type hidden-form fail to resolve the form
> --
>
> Key: OFBIZ-12260
> URL: https://issues.apache.org/jira/browse/OFBIZ-12260
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework/widget
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: screen, widget
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-12260.patch, OFBIZ-12260.patch
>
>
> When you generate a link with the type hidden-form and the link present an 
> update area, on the click jquery failed to resolve the form.
> Example of a current link generate
> {code:java}
>  href="javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0',
>  
> 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')">javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0',
>  
> 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000'){code}
> The problem come from OfbizUtil.js:748
> {code:java}
> var $form = jQuery("#" + form){code}
> To solve the it this, I propose to extend all hidden-form with add the 
> missing id attribute.



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


[jira] [Commented] (OFBIZ-12260) Xml Element Link type hidden-form fail to resolve the form

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

Commit 99696b022814958b67f8a573d90b75f71293dc28 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=99696b0 ]

Fixed: Xml Element Link type hidden-form fail to resolve the form
(OFBIZ-12260)

When you generate a link with the type hidden-form and the link present an 
update area, on the click jquery failed to resolve the form.

 Example of a current link generate :

  https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')">javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0',
 
'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')

The problem come from OfbizUtil.js:748

var $form = jQuery("#" + form)

To solve it, we change the form resolution in the function 
ajaxSubmitFormUpdateAreas with use the form name instead the form id.

Thanks to Xin Wang for this suggest to fix it.


> Xml Element Link type hidden-form fail to resolve the form
> --
>
> Key: OFBIZ-12260
> URL: https://issues.apache.org/jira/browse/OFBIZ-12260
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework/widget
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: screen, widget
> Attachments: OFBIZ-12260.patch, OFBIZ-12260.patch
>
>
> When you generate a link with the type hidden-form and the link present an 
> update area, on the click jquery failed to resolve the form.
> Example of a current link generate
> {code:java}
>  href="javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0',
>  
> 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')">javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0',
>  
> 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000'){code}
> The problem come from OfbizUtil.js:748
> {code:java}
> var $form = jQuery("#" + form){code}
> To solve the it this, I propose to extend all hidden-form with add the 
> missing id attribute.



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


[jira] [Closed] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread Jacques Le Roux (Jira)


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

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

I have done the same for the plugins

> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)

Currently, session timeout is configured in apps separately, but session is
shared globally, so the smallest one take effects, and it will not take effect
separately for different apps.

Then it is both inconvenient and confusing to increase session timeout value,
as all values in those files need to be updated.

A global web.xml is needed, to simplify session timeout configuration.

Thanks: Xin Wang


> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Priority: Major
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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


[jira] [Commented] (OFBIZ-12255) Add global web.xml to simplify session timeout configuration

2021-06-22 Thread ASF subversion and git services (Jira)


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

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

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

Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)

Currently, session timeout is configured in apps separately, but session is
shared globally, so the smallest one take effects, and it will not take effect
separately for different apps.

Then it is both inconvenient and confusing to increase session timeout value,
as all values in those files need to be updated.

A global web.xml is needed, to simplify session timeout configuration.

Thanks: Xin Wang


> Add global web.xml to simplify session timeout configuration
> 
>
> Key: OFBIZ-12255
> URL: https://issues.apache.org/jira/browse/OFBIZ-12255
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Xin Wang
>Priority: Major
> Attachments: 
> 0001-Improved-Add-global-web.xml-to-simplify-session-time.patch
>
>
> Currently, session timeout is configured in apps separately, but session is 
> shared globally, so the smallest one take effects, and it will not take 
> effort separately for different apps.
> Then it is both inconvenient and confusing to increase session timeout value, 
> as all values in those files need to be updated.
> I think a global web.xml is needed, to simplify session timeout configuration.



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