[
https://issues.apache.org/jira/browse/OFBIZ-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740796#action_12740796
]
Bob Morley commented on OFBIZ-2813:
-----------------------------------
Adrian,
Thank you very much for your quick comment -- I appreciate it! In this JIRA I
am trying to expand the functionality in Ofbiz which is driven from our system
requirements -- specifically, we have implemented multi-tenancy so we
absolutely have multiple customers using the same application server (and
definition in different timezones). Now interestingly enough, our requirement
would actually be more at the "Company" level -- but in doing some research I
noticed what I thought was a shortcoming in the ProductStore setup. To be
honest I did not know about this setting, but did know it was installation
based.
So, I think in a multi-tenant situation you would definitely want to expose
this value somewhere on an entity that was not the userLogin. But even before
that, I think it is reasonable to suggest that you may have a Company that has
multiple stores and spans more than one timezone where you would want this type
of configuration. Would you buy that? :) In this fix I have tried to follow
the #1 premise (do no harm) so I have elected not to seed this attribute and
allow it to pass through as it does now (userLogin -> productStore -> System
Default).
Thoughts?
> 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
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.