Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #345 TypeError: Cannot read property 'date1904' of undefined#364

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
guyonroche merged 1 commit intoexceljs:masterfromDiluka:master
Jul 31, 2017
Merged

Conversation

Diluka
Copy link
Contributor

cant open xlsx saved from Numbers
model.properties is undefined

cant open xlsx saved from Numbersmodel.properties is undefined
this.model={
sheets:this.map.sheets.model,
properties:this.map.workbookPr.model,
properties:this.map.workbookPr.model||{},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good - could you also add a unit test that catches this issue?
in: spec/unit/xlsx/xform/book/workbook-xform.spec.js
best approach woud be making copies of the spec/unit/xlsx/xform/book/data/book.1.* files and adding a new expectation

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sorry. No, actually I don't know how to add the unit test.
I just fixed an.xlsx file parsed with itsthis.map.workbookPr.model beingundefined causing an null reference error.
This because the file itself having a missing property andexceljs supposing it have.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

OK, I have a little time now, I'll do it

@guyonrocheguyonroche merged commit36be6ed intoexceljs:masterJul 31, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@guyonrocheguyonrocheguyonroche requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Diluka@guyonroche

[8]ページ先頭

©2009-2025 Movatter.jp