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

Empty Date give Exception #155

Open
LiteLessomoroff opened this issue Feb 15, 2022 · 0 comments
Open

Empty Date give Exception #155

LiteLessomoroff opened this issue Feb 15, 2022 · 0 comments

Comments

@LiteLessomoroff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant