Skip to content

Weird behavior when street name starts with a number #12

@dakzilla

Description

@dakzilla

This example (in a French format) returns an exception: 470 6e Av:
InvalidArgumentException: Address '470 6e Av' could not be splitted into street name and house number

The same example, with an added comma after the house number also doesn't work correctly:

["additionToAddress1"]=> string(3) "470"
["streetName"]=> string(2) "Av"
["houseNumber"]=> string(2) "6e" 

Most of the time, users will not include a comma after the civic number

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that describe an unexpected behaviour in an existing functionality.minor"bug" issues that are neither "critical" nor "major".

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions