New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runner Removes leading 0's from .csv data #2734
Comments
Hi, I also encountered the same problem. Is this fixed already? Or when will it be fixed? :( |
@catcalling This isn't fixed yet unfortunately, but we'll be taking a look at this. |
Having the same issue - would be nice to see it fixed. |
I am having the same issue - really important to fix |
Would love to see a fix for this. |
I'm also having issues with this. Any timeline for a fix? |
This issue has been open over 2 years!! Its a very common feature required by the development community. Can this be prioritized. |
Is this issue still open? Very strange, this should be fixed ASAP. Im trying to work around this but its not working. what do i do? |
A workaround is to put the value in the .CSV in quotes e.g. "0000123". Not ideal for a few reasons but it worked for me. |
So 2+ years later...hopefully this will be prioritized soon? It's kind of a big deal... |
Hi everyone, We convert numbers without quotes in CSV file into JavaScript Number while parsing the CSV file in the Postman App. As a result, leading zeros from the number is removed because that information can't be stored in JavaScript Number. If you want to keep numbers with leading zeros as it is, you can specify them as a string in CSV file by wrapping the number in double quotes like below:
However, for the users who don't want this behavior or want to have more control over parsing, we are planning to provide options related to CSV file parsing behavior in our long term roadmap. We will consider adding an option to parse specified columns as string by default. Other suggestions are always welcome regarding what options you would like to have when we add them. |
Closing this issue for now in favour of the options feature |
any update on this, I can't find a solution to fix this, all links take me back to this issue link |
I'm stuck on this after a thousand years. |
Any solution yet? Our team is running into lots of Postman Issues and this is the cherry on top. |
This has not been fixed and the "We have a plan" post is 3 years old. This is kind of ridiculous. |
Hey everyone 👋 |
What is the status her? |
Any progress here? |
I prayed and prayed |
Hi -- is there an update on this issue? |
same problem here.. over two years and still not fixed, this is ridiculous |
I think this is just not getting any attention - @kdomagal is talking about two years. I hit this bug in 2017. Time flies. |
Hi All, We are looking at this issue and have an approach/solution in mind. If anyone is interested to give us feedback or discuss the resolution, please drop us a note here or send me an email on malvika.chaudhary@postman.com Thanks for your patience. Regards, |
Yes, I would like to understand the solution for this old issue. Which
version is it planned to be rolled out?
Thanks,
…On Tue, Aug 1, 2023 at 8:45 PM Malvika Chaudhary ***@***.***> wrote:
Hi All,
We are looking at this issue and have an approach/solution in mind. If
anyone is interested to give us feedback or discuss the resolution, please
drop us a note here or send me an email on ***@***.***
Thanks for your patience.
Regards,
Malvika
—
Reply to this email directly, view it on GitHub
<#2734 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACT2BHJIWFGHCHR2OQPUJWLXTDM45ANCNFSM4DA4SMBQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for responding. We are thinking to let users specify the data types of the column in the preview screen. Once we parse the file and show it in the preview, we will give an option to the user to change the data type of a column. Hence, this will allow the user to change the datatype from "Number" to "String" so that the values with preceding zeros would be retained. If you are up for a discussion, here is my calendar, please feel free to block some time. Alternatively, feel free to provide suggestions on this thread. Thanks again |
Hi I tried adding a [ ' ] in front of the leading zero worked for me as a workaround |
Hi everyone 👋 Glad to inform you that with the latest release of Postman v 10.18, we have included a fix to this problem. You will now be able to let Postman know how you would like your data file columns to be parsed. We support String, Boolean, and Numbers apart from the default logic that is still available (option called "Auto-Detect"). Please see the below video for a walkthrough of how this works: Leading.zeroes.fix.movYou can also read more about this on our learning center. Hope this helps. Thanks everyone for giving us feedback on this. I will be closing this ticket but please feel free to ask questions or give us feedback. Regards, |
Postman Runner Removes leading "0" from values in .csv spreadsheet.
This causes tests to fail unless I create a new var, append a 0 then test against the new var.
Postman for Windows
Version 4.10.2
win32 10.0.14393 / x64
There is reference to a similar issue here that was closed but it does not seemed to have been resolved
#1917 (comment)
The text was updated successfully, but these errors were encountered: