Skip to content
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

EXPORTING FIELD WITH ERROR #118

Open
matcaampos opened this issue Jan 2, 2023 · 4 comments
Open

EXPORTING FIELD WITH ERROR #118

matcaampos opened this issue Jan 2, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@matcaampos
Copy link

Hi texei, i'm having a problem, the plugin is exporting the json of the data of one field with error.

The field have 14 chars in the maximum and is a text in salesforce and in the json the plugin is exporting like a number and without the zero in the beginning of the text.

image

image

image

@FabienTaillon
Copy link
Member

@matcaampos can you tell me which command you're using ? And which operating system ? And finally plugin version (running sfdx plugins --core).

When I try it's working fine:
text

@matcaampos
Copy link
Author

this is the version of the plugin
image
and this is the command:
sfdx texei:data:export --apitype bulk --dataplan ./data/data-plan.json --outputdir ./data --targetusername XXXX

@matcaampos
Copy link
Author

sorry, i try now with the rest and i works fine, thanks a lot

@FabienTaillon
Copy link
Member

Looks like it's an issue with the bulk version.
For whatever reason both Salesforce REST APIs don't return data with the same format, so it's a little bit painful to handle.
Still this is an issue as the exported/imported data will be different, I'll keep it open and see how we can handle this.

@FabienTaillon FabienTaillon added the bug Something isn't working label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants