Skip to content

When First Name starts with White Space, the card is Filed at the End, after Z #195

Open
FossifyOrg/commons
#322

Description

@DiagonalArg

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

v.1.1.0

Affected Android/Custom ROM version

GrapheneOS

Affected device model

Pixel 7

How did you install the app?

GitHub releases

Steps to reproduce the bug

Create a contact with a single space before the first name.

Expected behavior

Sock Android Contacts ignored the white space, which is probably the right solution.

Actual behavior

I just noticed that a contact with a (mistaken) single space before the first name was imported, it was sorted all the way at the end, after "Z".

(Tangentially, is there a vCard linter available anywhere? Answers may be offered here.)

Screenshots/Screen recordings

No response

Additional information

No response

Activity

  1. added
    bug
    needs triage
    on Nov 30, 2024
  2. Aga-C commented on Nov 30, 2024

    @Aga-C
    Contributor

    Please fill out the template properly.

  3. added
    waiting for author
    on Nov 30, 2024
  4. DiagonalArg commented on Dec 1, 2024

    @DiagonalArg
    Author

    Well I did it, but for a 2-line bug report, this kind of rigidity seems to me unnecessary.

  5. removed
    waiting for author
    needs triage
    on Dec 1, 2024
  6. Aga-C commented on Dec 1, 2024

    @Aga-C
    Contributor

    Create a contact with a single space before the first name.

    It applies only to VCF files.

  7. added
    niche
    on Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugniche

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions