Skip to content

bug(Generate QR Code): Negative margin and module size (px) throw an unhandled RangeError #2447

@HackingRepo

Description

@HackingRepo

Drag Generate QR Code, with module size -5 and margin set to -4.

will result on

Error generating QR code. (RangeError: Out of range index)

and also when you Drag Generate QR Code, by setting only module size to -5,

will result on

Error generating QR code. (RangeError: "value" argument is out of bounds)

That is improper error handling

Tests Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions