nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 173 forks source link

Editing contact birthday with omitting year is buggy #4179

Open provokateurin opened 1 month ago

provokateurin commented 1 month ago

Describe the bug

No response

Steps to reproduce

  1. Create a contact with a birthday and tick the "Omit year" checkbox, save it and reload the page
  2. Edit the contact, untick the "Omit year" checkbox, select a date for the birthday

Expected behavior

The year should be displayed and the checkbox should stay unticked.

Actual behavior

The year is hidden and the checkbox is ticked again.

Contact version

5.5.3

Operating system

Alpine

PHP engine version

PHP 8.2

Web server

Nginx

Database

PostgreSQL

Additional info

As a workaround one can untick the box, save, edit the date and save again.

GVodyanov commented 1 month ago

Hey! After editing the contact in step two, do you save and reload the page, and then still not see the year? I don't think I'm able to reproduce what you're describing

provokateurin commented 1 month ago

No, between editing the date and unticking the box I do not save and reload.