You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Updated) (JIRA)" <ji...@apache.org> on 2011/11/06 08:44:51 UTC

[jira] [Updated] (OFBIZ-2813) ProductStore did not allow the default timezone to be set

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

Jacques Le Roux updated OFBIZ-2813:
-----------------------------------

    Attachment: OFBIZ-2813.patch

Here is attachec an updated and amended version of the patch.

 I have removed the
_<sort-field name="X"/>_
line in _applications/product/webapp/catalog/store/ProductStoreForms.xml_ which I have renamed _applications/product/widget/catalog/ProductStoreForms.xml_ (it has certainly moved did not check anyway it works then)

I think we should take into account Adrian's remark in getTimeZone (at the end use ofbiz.timeZone.default if it exist)
                
> ProductStore did not allow the default timezone to be set
> ---------------------------------------------------------
>
>                 Key: OFBIZ-2813
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2813
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Bob Morley
>            Priority: Minor
>         Attachments: OFBIZ-2813.patch, OFBIZ-2813.patch
>
>
> The ProductStore has the defaultLocaleString and the defaultCurrencyUomId but does not have a defaultTimeZoneString.  What happens when a store is selected (from e-commerce or the pos) is that it will look to the user for a lastTimeZone and if that is not set, it would simply revert to the TimeZone.getDefault() (so the timezone based on the server).
> The trouble we had was that you may have an application server that is running in a completely different timezone than what is desired for the store.
> I will be attaching a patch to this ticket with changes related to this improvement.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira