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

XmlHelper WriteAttribute DateTime? not implemented exception. #262

Closed
dotnetninja74 opened this issue Sep 2, 2019 · 2 comments
Closed
Labels
enhancement file_error file format generation/writing issue

Comments

@dotnetninja74
Copy link

Is there a reason for the following to throw a not implemented exception?

public static void WriteAttribute(StreamWriter sw, string attributeName, DateTime? value)

@tonyqus tonyqus added the bug label Mar 3, 2020
@tonyqus
Copy link
Member

tonyqus commented Mar 7, 2020

I don't know the exact behavior of datetime serialization in openxml and I cannot find good examples of possible serialization case. Moreover, this method is only used in PivotTable definition. I don't see large demand for pivot support in NPOI.

@tonyqus tonyqus added the file_error file format generation/writing issue label Jul 6, 2020
@tonyqus tonyqus removed the bug label Jun 26, 2021
@tonyqus tonyqus closed this as completed Jun 26, 2021
@Myricaulus
Copy link

Well i just encountered the same error when trying to write the book. I actually didnt want to edit the sheet containing the pivot table, but another one. Is there a way to only open a sheet for editing? Or to find the culprit in the workbook and edit it somehow?

KnyazSh added a commit to KnyazSh/npoi that referenced this issue Nov 29, 2021
tonyqus added a commit that referenced this issue Feb 7, 2022
Add minimal support Pivot tables, Fix #419, Fix #262
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement file_error file format generation/writing issue
Projects
None yet
Development

No branches or pull requests

3 participants