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

Aperta
#66,697 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, php
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
37.6k
Fork
5.4k
Merge medio
1g 13h
PR unite (30g)
623

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/server

Tutte le issue di nextcloud/server

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.