Skip to content

sqlite: parseColumnType gives a warning #315

@marcelklinek

Description

@marcelklinek

Version: 3.2.5

Bug Description

When I upgrade to 3.2.5 from 3.2.0 database layer starts throwing exceptions. I am using sqlite db with Database explorer.

First it gives a warning in parseColumnType:

Warning
Undefined array key 1

Then if skipped, throws a TypeError:

TypeError
strtoupper(): Argument # 1 ($string) must be of type string, null given

I attach a stack trace and table description.

Steps To Reproduce

A select/insert into sqlite both produce this error.

call_stack.txt

table_struct

Offering to help

I can try to prepare a PR if you point me in the right direction (very new to nette)

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