Skip to content

Empty Date give Exception #155

@LiteLessomoroff

Description

@LiteLessomoroff

Describe the bug
Error happened on dbf table init, in constructor, where exists date field and it do not contains date(empty).
Before adding date column(which may be empty) in dbf file, it worked fine.

To Reproduce
Steps to reproduce the behavior:

  1. Create dbf which contains field date type and set empty value to this
  2. Initialize DbfTable
    using (var dbfTable = new DbfTable(dbfPath, Encoding.UTF8))// it must fall

Expected behavior
Change mapping to DateTime?(or type which using in this operation with ? - nullable) - if possible or set it to default date value

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