Skip to content

[BUG] Cannot set property 'marked' of undefined #1157

@cooperbrown9

Description

@cooperbrown9

🐛 Bug Report

This error can be found at this path
exceljs/lib/xlsx/xform/sheet/data-validations-xform.js:75:42

It happens whenever I try to create a sheet. However, it doesn't seem too important because simply wrapping a try/catch around it fixes the problem. Literally, just wrapping it in try/catch works. But what gives? Has anyone else gotten this behavior?

       ```
        try {
         // originally, there is no try catch, just the line below
         // 
          dvMap[otherAddress].marked = true;  
        } catch(e) {
          console.log('cant set undefined marked blah blah', e)
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions