Due date DateTimePicker resets to null values when creating a new card on the "Upcoming cards" screen

Aberta
#8,717 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
frontend

Direção de pesquisa

Start by reproducing the bug: open the Upcoming cards screen, use the plus button to create a card, and set a due date through the DateTimePicker. The payload names only the DateTimePicker and this create-card flow, so find where the picker's value is stored and passed on when the card is created. Done means a custom date and time chosen in the picker is saved on the new card and no longer resets to null.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

0. Needs triage bug
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
When creating a new card on the Upcoming Cards screen via the plus button, adding a due date with a custom date and time resets it to null values when date and time are entered fully. The server doesn't accept partial values.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "Upcoming Cards"
  2. Click on + next to page title
  3. Fill in title with arbitrary value
  4. Add due date, "Choose a date"
  5. Pick a date and time via the popup, or punch in the complete values

Expected behavior
The date picker saves the date and time

Screenshots
Screenshot shows after picking a date:

Image

Client details:

  • OS: Linux and Windows
  • Browser: Chrome (win) and Waterfox (linux)
  • Device: Web UI
Server details

Operating system: Latest Nextcloud AIO running on ProxMox

Web server: AIO

Database: AIO

PHP version: AIO

Nextcloud version: 35.0.2

Where did you install Nextcloud from: AIO

No errors have been found.

List of activated apps:

Enabled:
  - activity: 8.0.0
  - admin_audit: 2.0.0
  - announcementcenter: 7.5.1
  - appstore: 2.0.0
  - bruteforcesettings: 8.0.0
  - calendar: 6.6.5
  - circles: 35.0.0
  - cloud_federation_api: 2.0.0
  - collectives: 4.8.0
  - comments: 2.0.0
  - contacts: 8.9.0
  - contactsinteraction: 2.0.0
  - dashboard: 8.0.0
  - dav: 2.0.0
  - deck: 1.19.2
  - external: 10.0.0
  - federatedfilesharing: 2.0.0
  - federation: 2.0.0
  - files: 3.0.0
  - files_accesscontrol: 6.0.0
  - files_downloadlimit: 5.3.0
  - files_external: 2.0.0
  - files_fulltextsearch: 35.0.1
  - files_lock: 35.0.1
  - files_pdfviewer: 8.0.0
  - files_reminders: 2.0.0
  - files_sharing: 2.0.0
  - files_trashbin: 2.0.0
  - files_versions: 2.0.0
  - firstrunwizard: 8.0.0
  - forms: 5.4.1
  - fulltextsearch: 35.0.0
  - fulltextsearch_elasticsearch: 35.0.1
  - fulltextsearch_sql: 1.5.1
  - groupfolders: 23.0.1
  - guests: 4.10.1
  - logreader: 8.0.0
  - lookup_server_connector: 2.0.0
  - mail: 5.13.1
  - nextcloud-aio: 0.9.0
  - nextcloud_announcements: 7.0.0
  - notes: 6.1.0
  - notifications: 8.0.1
  - notify_push: 1.4.2
  - oauth2: 2.0.0
  - ocs_api_viewer: 1.0.13
  - office: 1.1.0
  - password_policy: 7.0.0
  - photos: 8.0.0
  - privacy: 7.0.0
  - profile: 2.0.0
  - provisioning_api: 2.0.0
  - recommendations: 8.0.0
  - related_resources: 6.0.0
  - richdocuments: 12.0.1
  - serverinfo: 7.0.0
  - settings: 2.0.0
  - sharebymail: 2.0.0
  - sharing: 1.0.4
  - sociallogin: 6.5.5
  - socialsharing_whatsapp: 5.0.3
  - spreed: 25.0.7
  - support: 7.0.0
  - survey_client: 7.0.0
  - systemtags: 2.0.0
  - tables: 2.3.1
  - talk_matterbridge: 1.35.1026000
  - tasks: 0.18.1
  - text: 9.0.1
  - theming: 3.0.0
  - twofactor_backupcodes: 2.0.0
  - twofactor_totp: 17.1.0
  - updatenotification: 2.0.0
  - user_status: 2.0.0
  - viewer: 8.0.0
  - weather_status: 2.0.0
  - webhook_listeners: 2.0.0
  - whiteboard: 2.1.2
  - workflowengine: 3.0.0
Disabled:
  - app_api: 35.0.0 (installed 32.0.0)
  - encryption: 3.0.1
  - files_fulltextsearch_metadata: 0.1.1 (installed 0.1.1)
  - suspicious_login: 13.0.0
  - thesearchpage: 2.5.1 (installed 2.5.1)
  - twofactor_nextcloud_notification: 9.0.0
  - user_ldap: 2.0.0

Nextcloud configuration:

{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "activity_use_cached_mountpoints": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "default_phone_region": "HR",
        "default_locale": "hr_HR",
        "default_language": "hr",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 3,
            "read_timeout": 10
        },
        "overwritehost": "nextcloud.kkb.hr",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.kkb.hr"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "35.0.2.2",
        "overwrite.cli.url": "https:\/\/nextcloud.kkb.hr\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "defaultapp": "dashboard,files,deck,calendar",
        "updater.release.channel": "stable",
        "serverid": 445,
        "log_type_audit": "file",
        "logfile_audit": "\/var\/www\/html\/data\/audit.log",
        "update_channel": "stable",
        "forbidden_filename_characters": [
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            ".filepart",
            ".part"
        ],
        "DOMAIN": "nextcloud.kkb.hr",
        "AIO_VERSION": "v15.0.2"
    }
}

Logs
Nextcloud log (data/nextcloud.log)

N/A

Browser log

No error is shown in console

Linguagem predominante
JavaScript
Estrelas
1.4k
Forks
380
Merge médio
1d 17h
PRs com merge (30d)
72

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nextcloud/deck

Todas as issues de nextcloud/deck

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.