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

オープン
#66,697 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, php
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
37.6k
フォーク
5.4k
平均マージ
1日 13時間
マージ済み PR(30日)
623

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/server のほかの issue

nextcloud/server の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。