-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: styles rendering in case when "numFmt" is present in conditional formatting rules (resolves #1814) #1815
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
fix: styles rendering in case when "numFmt" is present in conditional formatting rules (resolves #1814) #1815
Conversation
… formatting rules (resolves exceljs#1814)
@alubbe, @Siemienik, @Alanscut, I kindly ask you to review this pull request. |
thanks, this is a great PR! Could you please add a unit test for the xml generation? |
@alubbe, sure, I will add tests |
596fa30
to
e476df7
Compare
@alubbe, I covered this case with an integration test, thanks @alubbe, @Siemienik, @Alanscut, I kindly ask you to review and merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🥇 Thank you for that contribution ;)
@Siemienik, I double-checked tests locally and they passed, while I also was able to reproduce the problem when the pipeline got stuck due to |
@alubbe, @Siemienik, @guyonroche, please, take a look at my previous comment and, please, advise. |
f7f3308
to
3e4d0a1
Compare
@Siemienik, @alubbe, @guyonroche, please, review one more time 😉 I've added a fix that prevents The issue with stucking pipeline is described by I've tested pipeline execution using my fork and it successfully passed - andreykrupskii#2 Feel free to ask any questions/suggestions and I look forward to the merge of this PR. |
Thanks for this PR and unblocking jasmine! |
This issue is still happening in the latest version 4.3.0. |
Hi there @harunisik! I was just looking at the changes and I didn't see the latest update published. I noticed that V4.3.0 was published on Aug 21, 2021, and this change was merged on Sep 7, 2021. Hey @alubbe, do you happen to know the current status of this project and if it has active maintainers? Thanks so much! |
Hi, no one except Guyonroche has permission to publish package. Recently I publish it from fork https://github.com/SiemaTeam/spreadsheets . btw. we're organizing MergeFest to cleanup current PRs list, they are on Discord https://discord.gg/siema . |
I tried it today - so far so good. Thanks. |
Summary
Closes #1814
This code covers fix for #1814. The issue is described by
numFmt
tag is rendered withoutnumFmtId
andformatCode
properties when it is located indxf
tag (that is used for dynamic styles, for example, conditional formatting). This specific case is handled by the changes in the scope of this pull request.Test plan
The next code snippet is suggested for testing:
Script execution result before fix apply:
Script execution result after fix apply:
Related to source code (for typings update)
Typings update is not required.