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

Missing attributes generate wrong CSV file #13

Closed
AngeCyp opened this issue Jun 25, 2024 · 0 comments · Fixed by #17
Closed

Missing attributes generate wrong CSV file #13

AngeCyp opened this issue Jun 25, 2024 · 0 comments · Fixed by #17
Assignees
Labels
A:existing-plugin area: an existing plugin D:easy difficulty: easy (≤ 1 day of work) T:bug type: Something isn't working

Comments

@AngeCyp
Copy link
Contributor

AngeCyp commented Jun 25, 2024

If there is a lack of one attribute in a line, if there is a attribute on the right they are shifted to the left.
Example:
Instead of getting the following:

X;Y;podA;ns1;u1;
XX;YY;podB;;u2;
XXX;YYY;podC;ns3;u3;
TS Value Name Namespace UID
X Y podA ns1 u1
XX YY podB u2
XXX YYY podC ns3 u3

I get:

X;Y;podA;ns1;u1;
XX;YY;podB;u2;;
XXX;YYY;podC;ns3;u3;

TS Value Name Namespace UID
X Y podA ns1 u1
XX YY podB u2
XXX YYY podC ns3 u3
@titouanj titouanj added T:bug type: Something isn't working A:existing-plugin area: an existing plugin D:easy difficulty: easy (≤ 1 day of work) labels Jun 26, 2024
@TheElectronWill TheElectronWill changed the title Error in CSV plugin Missing attributes generate wrong CSV file Jun 26, 2024
@AngeCyp AngeCyp self-assigned this Jun 26, 2024
AngeCyp added a commit that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:existing-plugin area: an existing plugin D:easy difficulty: easy (≤ 1 day of work) T:bug type: Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants