Workeffort Calendar Timezone Support
------------------------------------ Key: OFBIZ-1089 URL: https://issues.apache.org/jira/browse/OFBIZ-1089 Project: OFBiz Issue Type: Improvement Components: workeffort Reporter: Adrian Crum Priority: Minor Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum reassigned OFBIZ-1089: ---------------------------------- Assignee: Adrian Crum > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-1089: ------------------------------- Attachment: we_services.patch I've run into a problem I can't figure out. The attached patch attempts to use the TimeZone object that should be available in the service context - after the recent changes to the service engine. But line 335: TimeZone curTz = (TimeZone) context.get("timeZone"); always returns null. It seems to me that this should work. I'm not knowledgeable enough about the service engine to figure this out on my own. Any help would be appreciated! The attached patch is for demonstration purposes only, it is not intended to be a part of the project. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511216 ] Adrian Crum commented on OFBIZ-1089: ------------------------------------ Please ignore the previous comment. I figured it out - I forgot to include the TimeZone object in the context Map when calling the service from a bsh script. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-1089: ------------------------------- Attachment: we_svc_bsh_ftl.patch we_svc_bsh_ftl.patch implements user-selected time zone support in the Workeffort getWorkEffortEventsByPeriod(...) service, the beanshell scripts, and the freemarker templates. Anyone wanting to get an advanced look at the potential capability can apply this patch to their local copy. You can play around with changing the time zones and locales in the calendar section. I'll have to wait until user-selected time zone support is added to the widgets before I go any farther. The Workeffort widget screens will still default to the server's time zone after applying this patch. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-1089: ------------------------------- Attachment: we_svc_bsh_ftl.patch Improved patch. This patch depends upon the framework_tz.patch file in OFBIZ-1164. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-1089: ------------------------------- Attachment: we_svc_bsh_ftl.patch Patch updated to latest svn. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519257 ] Jacques Le Roux commented on OFBIZ-1089: ---------------------------------------- Quick note : we_services.patch must be applied before we_svc_bsh_ftl.patch (which makes sense since it's older) > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519261 ] Jacques Le Roux commented on OFBIZ-1089: ---------------------------------------- Hi Adrian, Does this patch needs more work ? > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: we_services.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum closed OFBIZ-1089. ------------------------------ Resolution: Fixed Fix Version/s: SVN trunk Applied patch to svn. Rev 565073. > Workeffort Calendar Timezone Support > ------------------------------------ > > Key: OFBIZ-1089 > URL: https://issues.apache.org/jira/browse/OFBIZ-1089 > Project: OFBiz > Issue Type: Improvement > Components: workeffort > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Fix For: SVN trunk > > Attachments: we_services.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch, we_svc_bsh_ftl.patch > > > Modify the Workeffort calendar so that it supports user-selected time zones and locales. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |