[Bug]: Link expiry date picker doesn't accept typing in a new year

Offen
#66,697 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
62/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, php
Bereich
frontend

Rechercherichtung

Start by tracing the public share link advanced settings to the share-date-picker and native-datetime-picker--input components mentioned in the report. Reproduce typing a year such as 2028 in the YYYY field and compare it with entering a day or month. Done means the year field accepts the typed year correctly; the issue does not name a test or source file.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

0. Needs triage 34-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

When typing a new year into the share-date-picker/native-datetime-picker--input the result is completely off. I'm typing 2028 there.

nc-date-bug

Note that the sequence isn't even 1902, 1900 but 1901 here. So, the typing seems to affect more than just the lat Y digit.

Steps to reproduce
  1. For any uploaded file, create a public share link.
  2. Enter the advanced settings, enable the expiry date and click the DD or MM field there.
  3. Type a new day or month number => works as expected
  4. Click the YYYY field and type 2028 or whichever year is higher than the default value.
Expected behavior

YYYY can be updated by typing in the new value.

Nextcloud Server version

34

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

It's a hosted version by Hetzner (34.0.5) and I can't provide admin-level details, I'm sorry.
No item in v34.0.6's release notes ) seems to address this, though.

Also, I asked someone to test it on "v35, (hub 26)" and they reported not seeing this problem.

Vorherrschende Sprache
PHP
Sterne
37.6k
Forks
5.4k
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
623

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/server

Alle Issues in nextcloud/server

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.