[jira] [Updated] (OFBIZ-11036) User Manual : change the level of from 2 to 1

2020-10-26 Thread Olivier Heintz (Jira)


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

Olivier Heintz updated OFBIZ-11036:
---
Labels: Documentation  (was: )

> User Manual : change the level  of  from 2 to 1
> --
>
> Key: OFBIZ-11036
> URL: https://issues.apache.org/jira/browse/OFBIZ-11036
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Assignee: Kaustubh Choudhary
>Priority: Minor
>  Labels: Documentation
> Attachments: 
> 0001-Documented-User-Manual-change-the-level-of-Core-Busi.patch
>
>
> If  is on level 1,  it become a main separator in 
> TOC not a chapter
>   TOC become
> {code:java}
> ...
>  2. Quick start
>  Core Business Applications
>      3. Accounting
>      4. Human Resources
>  {code}
> and so we have one more level (in TOC) for each application



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


[jira] [Updated] (OFBIZ-10303) Add a Global Glossary for Documentation Guides

2020-10-26 Thread Olivier Heintz (Jira)


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

Olivier Heintz updated OFBIZ-10303:
---
Labels: Documentation  (was: )

> Add a Global Glossary for Documentation Guides
> --
>
> Key: OFBIZ-10303
> URL: https://issues.apache.org/jira/browse/OFBIZ-10303
> Project: OFBiz
>  Issue Type: Task
>Reporter: Olivier Heintz
>Priority: Minor
>  Labels: Documentation
> Attachments: 
> OFBIZ-10303_Documented-Add-a-Global-Glossary-for-user-documentat.patch, 
> humanres.adoc.patch, ofbiz-glossary.adoc, ofbiz-glossary.adoc, 
> ofbiz-glossary.adoc, user-manual.adoc.patch
>
>
> Create a ofbiz-glossary.adoc in _include directory at the top level (near 
> user-manual.adoc and developer-manual.adoc)
> This file will be used for all terms which are global to ofbiz (not link to a 
> component).
>  



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


[jira] [Closed] (OFBIZ-11587) Migration all docbook file to asciidoc

2020-10-26 Thread Olivier Heintz (Jira)


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

Olivier Heintz closed OFBIZ-11587.
--
  Assignee: Olivier Heintz
Resolution: Fixed

> Migration all docbook file to asciidoc
> --
>
> Key: OFBIZ-11587
> URL: https://issues.apache.org/jira/browse/OFBIZ-11587
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS, ALL PLUGINS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Assignee: Olivier Heintz
>Priority: Minor
>  Labels: documentation
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Umbrella task, for all components migration tasks.
> Idea is to have only one branch/PR for all tasks, with one commit per 
> component / sub-component migration, it will be more easy to merge it when it 
> will be finish



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


[jira] [Reopened] (OFBIZ-8302) Sorting of lists generates undesired results

2020-10-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reopened OFBIZ-8302:


Reopening for security reason

> Sorting of lists generates undesired results
> 
>
> Key: OFBIZ-8302
> URL: https://issues.apache.org/jira/browse/OFBIZ-8302
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Release Branch 15.12, Trunk
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: Release Branch 13.07, Release Branch 14.12, 16.11.01, 
> Release Branch 15.12
>
>
> When trying to sort the overview of products in the product catalog on one of 
> the options, a blank screen is returned.
> As an example the following returned url:
> {code}
> https://ofbiz-vm.apache.org:8443/catalog/control/https%3A%2F%2Fofbiz-vm.apache.org%3A8443%2Fcatalog%2Fcontrol%2FFindProduct%3FsortField%3DproductId%26amp%3BnoConditionFind%3DY%26amp%3BproductId_ic%3DY%26amp%3BproductId_op%3Dcontains%26amp%3BinternalName_ic%3DY%26amp%3BinternalName_op%3Dcontains
> {code}



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


[jira] [Commented] (OFBIZ-11693) Help system using asciidoc files

2020-10-26 Thread ASF subversion and git services (Jira)


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

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

Commit e6d77fdaa31dc5361184594c04bfdbf930926cd5 in ofbiz-framework's branch 
refs/heads/trunk from Olivier Heintz
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e6d77fd ]

Documented: Help system using asciidoc files (OFBIZ-11693)

now OFBiz uses only help link to asciidoc user-manual (no more using docbook 
files)

> Help system using asciidoc files
> 
>
> Key: OFBIZ-11693
> URL: https://issues.apache.org/jira/browse/OFBIZ-11693
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Assignee: Olivier Heintz
>Priority: Major
>  Labels: documentation, help, help-system
> Fix For: Trunk
>
> Attachments: 
> OFBIZ-11693_0001-Improvement-Help-link-using-asciidoc-files-via-gener.patch, 
> OFBIZ-11693_0002-Documented-Migrate-AccountingHelData.xml-to-added-so.patch, 
> OFBIZ-11693_0003-Documented-Migrate-CommonExtHelData.xml-to-added-som.patch, 
> ofbiz.conf.patch, ofbiz.conf.patch
>
>
> a very simple solution which is a link to a documentation site.
> This solution use
>  1. at application level, a default proprety for documentation website uri
>  2. at the screen level
>  * it would be possible to give a other uri (for user documentation)
>  * if the anchor in the user documentation for this screen is put, the new 
> help is used otherwise the older link is used



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


[jira] [Commented] (OFBIZ-11587) Migration all docbook file to asciidoc

2020-10-26 Thread ASF subversion and git services (Jira)


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

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

Commit 302bc0eb154203682aee53d1d4bf2bfa5be1599c in ofbiz-framework's branch 
refs/heads/trunk from Olivier Heintz
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=302bc0e ]

Documented: migration to help system using asciidoc files (OFBIZ-11587)

Remove all related help docbook files


> Migration all docbook file to asciidoc
> --
>
> Key: OFBIZ-11587
> URL: https://issues.apache.org/jira/browse/OFBIZ-11587
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS, ALL PLUGINS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Priority: Minor
>  Labels: documentation
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Umbrella task, for all components migration tasks.
> Idea is to have only one branch/PR for all tasks, with one commit per 
> component / sub-component migration, it will be more easy to merge it when it 
> will be finish



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


[jira] [Commented] (OFBIZ-11587) Migration all docbook file to asciidoc

2020-10-26 Thread ASF subversion and git services (Jira)


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

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

Commit 37c075b1f5d5e73e46cd2f15d24926416fd3abbe in ofbiz-framework's branch 
refs/heads/trunk from Olivier Heintz
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=37c075b ]

Documented: migration to help system using asciidoc files (OFBIZ-11587)

remove in plugin creation gradle task, files related to docbook help

> Migration all docbook file to asciidoc
> --
>
> Key: OFBIZ-11587
> URL: https://issues.apache.org/jira/browse/OFBIZ-11587
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS, ALL PLUGINS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Priority: Minor
>  Labels: documentation
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Umbrella task, for all components migration tasks.
> Idea is to have only one branch/PR for all tasks, with one commit per 
> component / sub-component migration, it will be more easy to merge it when it 
> will be finish



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


[jira] [Commented] (OFBIZ-11587) Migration all docbook file to asciidoc

2020-10-26 Thread ASF subversion and git services (Jira)


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

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

Commit eebd368718ae8a13f57bec68029f568580de4add in ofbiz-plugins's branch 
refs/heads/trunk from Olivier Heintz
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=eebd368 ]

Documented: migration to help system using asciidoc files (OFBIZ-11587)

Remove all related help docbook files

> Migration all docbook file to asciidoc
> --
>
> Key: OFBIZ-11587
> URL: https://issues.apache.org/jira/browse/OFBIZ-11587
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS, ALL PLUGINS
>Affects Versions: Trunk
>Reporter: Olivier Heintz
>Priority: Minor
>  Labels: documentation
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Umbrella task, for all components migration tasks.
> Idea is to have only one branch/PR for all tasks, with one commit per 
> component / sub-component migration, it will be more easy to merge it when it 
> will be finish



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


[GitHub] [ofbiz-framework] sonarcloud[bot] commented on pull request #236: Improved: Remove _PREVIOUS_REQUEST_ Session Attribute on non-authentication pages (OFBIZ-12047)

2020-10-26 Thread GitBox


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


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/issue
 
s?id=apache_ofbiz-framework=236=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=236=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=236)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=236=duplicated_lines_density=list)
 No Duplication information
   
   



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




[GitHub] [ofbiz-framework] ingo-koenemann opened a new pull request #236: Improved: Remove _PREVIOUS_REQUEST_ Session Attribute on non-authentication pages (OFBIZ-12047)

2020-10-26 Thread GitBox


ingo-koenemann opened a new pull request #236:
URL: https://github.com/apache/ofbiz-framework/pull/236


   Improved: Remove _PREVIOUS_REQUEST_ Session Attribute on non-authentication 
pages (OFBIZ-12047)
   
   Added removal of the _PREVIOUS_REQUEST_ attribute when requesting 
non-authenticated sites and moved targetRequestUri handling to a accommodate 
this change



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-12047) Remove _PREVIOUS_REQUEST_ Session Attribute on non-authentication pages

2020-10-26 Thread Jira
Ingo Könemann created OFBIZ-12047:
-

 Summary: Remove _PREVIOUS_REQUEST_ Session Attribute on 
non-authentication pages
 Key: OFBIZ-12047
 URL: https://issues.apache.org/jira/browse/OFBIZ-12047
 Project: OFBiz
  Issue Type: Improvement
Reporter: Ingo Könemann
Assignee: Ingo Könemann
 Fix For: Release Branch 18.12


There is a session attribute called "_PREVIOUS_REQUEST_" used to remember and 
execute the previous request after a login occurs. This attribute is not 
removed properly when navigating away from a page without logging in.

When navigating to a page that requires authentication the "_PREVIOUS_REQUEST_" 
attribute is saved in the session from within the LoginWorker to be called 
again when the login was successful through the RequestHandler. Currently, the 
attribute is only removed when a login occurs resulting in the previous request 
being stored in the session until some form of login is successfully executed.

This behavior potentially results in navigation problems since a user is able 
to navigate to a page requiring authentication without logging in. An old 
request will be pulled from the session when a similar event occurs and the 
user logs in.

 

I propose to have the RequestHandler remove the session attribute 
"_PREVIOUS_REQUEST_" after calling a request that does not require 
authentication. We also have to restructure the sequence of request handling to 
have the "targetRequestUri" handled after the security check and a possible 
removal of the session attribute.

 

One problem arises with this solution, however, which should be less of an 
issue than the current state:

If the login page includes a request call that is handled after the request 
showing the login page (for example an ajax call rendering a screen), the 
"_PREVIOUS_REQUEST_" attribute will be lost before the login is processed. To 
my knowledge such a case does not exist within the OFBiz environment and seems 
to be an edge case far less problematic than the above mentioned problem.



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


[GitHub] [ofbiz-plugins] sonarcloud[bot] commented on pull request #45: WIP: Headless Commerce Plugin Implementation

2020-10-26 Thread GitBox


sonarcloud[bot] commented on pull request #45:
URL: https://github.com/apache/ofbiz-plugins/pull/45#issuecomment-716529712


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache_
 ofbiz-plugins=45=false=SECURITY_HOTSPOT) to review) 
 
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
 [2 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45=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




[GitHub] [ofbiz-plugins] sonarcloud[bot] removed a comment on pull request #45: WIP: Headless Commerce Plugin Implementation

2020-10-26 Thread GitBox


sonarcloud[bot] removed a comment on pull request #45:
URL: https://github.com/apache/ofbiz-plugins/pull/45#issuecomment-716296866


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache_
 ofbiz-plugins=45=false=SECURITY_HOTSPOT) to review) 
 
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
 [2 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=45=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=45=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] [Assigned] (OFBIZ-10675) createGlReconciliation throws an error

2020-10-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux reassigned OFBIZ-10675:
---

Assignee: Jacques Le Roux  (was: Mohammed Rehan Khan)

> createGlReconciliation throws an error
> --
>
> Key: OFBIZ-10675
> URL: https://issues.apache.org/jira/browse/OFBIZ-10675
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-10675.patch, Screen Shot 2018-11-26 at 15.49.38.png
>
>
> See 
> [https://demo-trunk.ofbiz.apache.org/accounting/control/createGlReconciliation]
>  
> When entering an amount and submitting the data an error is thrown. See 
> attached image.



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


[jira] [Commented] (OFBIZ-10675) createGlReconciliation throws an error

2020-10-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-10675:
-

Thanks Mohammed for the proposed solution, 

It works but I think we can do better by hidding the Reconciled Balance when 
not necessary. I'll have a look, also because your solution may hide an 
underneath more general problem. 


> createGlReconciliation throws an error
> --
>
> Key: OFBIZ-10675
> URL: https://issues.apache.org/jira/browse/OFBIZ-10675
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Mohammed Rehan Khan
>Priority: Major
> Attachments: OFBIZ-10675.patch, Screen Shot 2018-11-26 at 15.49.38.png
>
>
> See 
> [https://demo-trunk.ofbiz.apache.org/accounting/control/createGlReconciliation]
>  
> When entering an amount and submitting the data an error is thrown. See 
> attached image.



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


[jira] [Commented] (OFBIZ-11035) Add timezone support to recurring job temporal expressions

2020-10-26 Thread Lalit Dashora (Jira)


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

Lalit Dashora commented on OFBIZ-11035:
---

Hello [~pawan]

I tried to use this feature of recurrence TimeZone but it didn't work for me.

Here are the steps I tried: 
1. Updated the default timeZone from start.properties file.
2. Created a job which will execute on daily basis. Also added 
recurrenceTimeZone attribute.
3. The server picked and executed the job successfully and further created new 
job (next day) with the same time. For example runTime data for the imported 
job was 26 Oct 2020 07:00 AM and after successful execution, the next job was 
created with time 27 Oct 2020 07:00 AM. Found that there was no change in time 
of recurring job.


Here in this case the system is properly adding the timeZone both default and 
recurrenceTimeZone. Verified the same by getting the timeZone and printing the 
log statements. Found that in createRecurrence method the system is trying to 
set the runTime by java.sql.Timestamp(next) and I think this is not working 
properly.

Let's assume that the server is kept in UTC/GMT timeZone and I want the jobs to 
execute as per the Eastern time (EST). I want to create a job which will run 
daily at 07:00 EST so for this I will create the data with runTime of 07:00 AM 
and will set recurrenceTimeZone as EST. Here, in this case, the server for the 
first time will pick the job at 07:00 AM (UTC) then from the next job onwards 
the server will convert and set the time as per 07:00 AM EST. This thing won't 
help much in production systems since for the first day the jobs will not be 
executed on correct timing and from next day onwards the time of jobs will 
change. Instead of adding the timeZone support for the recurring job (child 
jobs) it should be done as soon as the job is imported (parent/super job). 
Doing this way won't need to calculate and set time for recurring jobs. 
Continuing with the above example, on importing the job data for 07:00 AM with 
recurring timeZone as EST the system should first convert the DateTime as per 
the timeZone and then execute the job. So from the next job, the system will 
automatically set proper time without any code change.

I think we can reopen this ticket.

Thanks!

> Add timezone support to recurring job temporal expressions
> --
>
> Key: OFBIZ-11035
> URL: https://issues.apache.org/jira/browse/OFBIZ-11035
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webtools
>Affects Versions: Trunk
>Reporter: Pawan Verma
>Assignee: Pawan Verma
>Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11035.patch, OFBIZ-11035.patch
>
>
> Link of the discussion: [https://markmail.org/message/jsjqmjypaihbbldn]
> *As per Scott:*
> Trying to decide on the best way to define a *temporal* *expression* for a 
> recurring job where the *temporal* *expression* should be evaluated using a 
> *timezone* other than whatever the default *timezone* is for the system.
> The use case is having a system that runs on UTC time but needs to send a 
> report at 5 pm Pacific Time every day regardless of whether or not daylight 
> savings is in effect.
> Two options:
>  # Add a field to *JobSandbox* such as recurrenceTimeZone (or better name!)
>  # Use whatever *timezone* is available in the RunTime data service context
> Based on the discussion on Dev Mailing list #1 will be used to implement this 
> feature.
>  



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