[
https://issues.apache.org/jira/browse/OFBIZ-5453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865937#comment-13865937 ]
Jacques Le Roux commented on OFBIZ-5453:
----------------------------------------
>Geo point coordinate systems do not come from those organizations, they come from standards organizations. Google, MapQuest, Bing, etc REFERENCE coordinate systems, they do not AUTHOR them.
Of course, I know that.
>So, putting that data in the DataSource entity is fundamentally WRONG.
I did not put Geo point coordinate systems in the DataSource entity, simply a simple mean to identifiy a map system provider.
>If you want to disregard sound advice and put things in nonsensical places, then go ahead. The project has deteriorated from that approach, so we might as well abandon any pretense of trying to model things correctly and let everything devolve into chaos.
I respect your opinion, and you know that. But there, I believe we are going too far in willing to model multiple coordinate systems. In my opinion OFBiz does not need that. This said, I'm not against it. I will do what I have noted in the list above (points 1 to 6). Then feel free to change things in order to adapt to the data model you advocate. So, to be frank, it's more the surplus of work which stops me on this. Currently I don't see a need for a such effort in OFBiz.
> Set field in (at least) widget screen does not take into account a locale for (at least) the Float type
> -------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5453
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5453> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Fix For: SVN trunk, Release Branch 12.04, Release Branch 13.07
>
> Attachments: OFBIZ-5453.patch
>
>
> While working on Google Maps API migration from V2 to V3 I discovered an issue which is reflected by those 2 commits
> *
http://svn.apache.org/viewvc?view=revision&revision=892579
> *
http://svn.apache.org/viewvc?view=revision&revision=895950> In other words if you pass something like
> <set field="geoPoints[+0].lat" value="37.4419" type="Float"/>
> in a French OS or browser context you will get 37.0 in OFBiz context
> But if you pass
> <set field="geoPoints[+0].lat" value="37,4419" type="Float"/>
> in an English OS or browser context you will get 37.0 in OFBiz context
> So we need either to fix this in code (ModelWidgetAction.java[132,171]) or to add a way to pass a locale to force/fix the Float(others?) value in OFBiz context (this is needed for instance for geolocation)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)