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

Abierto
#66,697 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, php
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
37.6k
Forks
5.4k
Merge medio
1 d 13 h
PR fusionados (30 d)
623

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/server

Todos los issues de nextcloud/server

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.