[jira] Created: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
Datafile  converts string decimal input to another number.in xml output
-----------------------------------------------------------------------

                 Key: OFBIZ-2534
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Release Branch 9.04
         Environment: 9.04  framework/datafile
            Reporter: BJ Freeman
             Fix For: Release Branch 9.04



datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
this is the Product entity and the field is weight.
the orginal string was 9.15
the output was 9.1499996185

there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)

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

BJ Freeman updated OFBIZ-2534:
------------------------------

    Attachment: importTablesexample.xml

this is the table def for the data file.
so if someone wants to test on thier machine.
it points to the new xsd


> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

BJ Freeman updated OFBIZ-2534:
------------------------------

    Attachment: Product_Data_327496_1.tab

this is the data file that the def file is used on.
you can compare the weight before and after.


> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714581#action_12714581 ]

Dan Dodd commented on OFBIZ-2534:
---------------------------------

I tested this and it made a 10 MB  file. with 2 items weighing in at 9.1499996185 the stereo preamp and the Bunn brewer.

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714585#action_12714585 ]

BJ Freeman commented on OFBIZ-2534:
-----------------------------------

Thanks Dan.
the oringal file has only two deciimal places but all generated one are more that two decimals and not the exact number.
Glad to know it was not machine specific
will be digging into the code more this weekend.


> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751914#action_12751914 ]

Jacques Le Roux commented on OFBIZ-2534:
----------------------------------------

Hi BJ,

OFBIZ-2702 is now fixed/closed, could you please try and see if we can close all related issues you reported ?

Thanks

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755110#action_12755110 ]

Jacques Le Roux commented on OFBIZ-2534:
----------------------------------------

Hi BJ,

Should we close ?

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755711#action_12755711 ]

Jacques Le Roux commented on OFBIZ-2534:
----------------------------------------

BJ,

I just realize that this is open for R9.04 and OFBIZ-2702 fixed only trunk could you check please ?

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755817#action_12755817 ]

BJ Freeman commented on OFBIZ-2534:
-----------------------------------

give me about a week to recover and I will test on both the trunk and 9.04

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764327#action_12764327 ]

BJ Freeman commented on OFBIZ-2534:
-----------------------------------

will be testing this weekend on 9.04
some reason trunk is not updating correctly on my system.


> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845964#action_12845964 ]

Jacques Le Roux commented on OFBIZ-2534:
----------------------------------------

BJ,

Will you provide also a new patch for this one?

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2534) Datafile converts string decimal input to another number.in xml output

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845980#action_12845980 ]

BJ Freeman commented on OFBIZ-2534:
-----------------------------------

yes, but first have to solve the out of memory problem
https://issues.apache.org/jira/browse/OFBIZ-3558

> Datafile  converts string decimal input to another number.in xml output
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2534
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04
>         Environment: 9.04  framework/datafile
>            Reporter: BJ Freeman
>             Fix For: Release Branch 9.04
>
>         Attachments: importTablesexample.xml, Product_Data_327496_1.tab
>
>
> datafile conversion to entity file take a string with a decimal and added a lot of numbers to it
> this is the Product entity and the field is weight.
> the orginal string was 9.15
> the output was 9.1499996185
> there were no errors in any of the logs.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.