Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug NC25]: Adding an expiration date to a share does not work #34695

Closed
6 of 9 tasks
Tracked by #1280
cetcondor opened this issue Oct 20, 2022 · 5 comments · Fixed by #34871
Closed
6 of 9 tasks
Tracked by #1280

[Bug NC25]: Adding an expiration date to a share does not work #34695

cetcondor opened this issue Oct 20, 2022 · 5 comments · Fixed by #34871
Assignees
Labels
1. to develop Accepted and waiting to be taken care of 25-feedback bug high regression

Comments

@cetcondor
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

It is not possible to set an expiration date to a share, because no date picker or date input field appears. The problem only exists for sharing to users. (Setting an expiry date for public links is still possible.)
Bildschirmfoto vom 2022-10-20 12-54-32

Steps to reproduce

  1. Create share to a NC user
  2. Try to add expiration date (DE: „Ablaufdatum setzen“)
  3. No date picker appears

Expected behavior

As step 3. the date picker or date input field should appear.

Installation method

Community Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.0.18",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "",
        "default_language": "de",
        "default_locale": "de_DE",
        "default_phone_region": "DE",
        "minimum.supported.desktop.version": "3.3.5",
        "activity_expire_days": 90,
        "filelocking.enabled": "true",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "htaccess.RewriteBase": "\/",
        "updater.release.channel": "stable",
        "maintenance": false,
        "theme": "",
        "loglevel": 3,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "app_install_overwrite": [
            "drawio",
            "files_mindmap",
            "apporder",
            "integration_whiteboard",
            "deck"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - apporder: 0.15.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.0.1
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.0
  - drawio: 1.0.3
  - externalpassword: 1.0.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - forms: 3.0.0
  - groupfolders: 13.0.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.0.3
  - notes: 4.6.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.0
  - polls: 4.0.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.1
  - richdocuments: 7.0.0
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - spreed: 15.0.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - terms_of_service: 2.0.0
  - text: 3.6.0
  - theming: 2.0.0
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - encryption
  - federation: 1.14.0
  - files_antivirus: 3.3.1
  - files_external
  - firstrunwizard: 2.8.0
  - nextcloud_announcements: 1.13.0
  - privacy: 1.8.0
  - quota_warning: 1.14.0
  - ransomware_protection: 1.13.0
  - support: 1.7.0
  - survey_client: 1.12.0
  - twofactor_totp
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

@cetcondor cetcondor added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 20, 2022
@szaimen
Copy link
Contributor

szaimen commented Oct 20, 2022

cc @nextcloud/server-frontend @GretaD @ChristophWurst

@PVince81 PVince81 added this to the Nextcloud 25.0.1 milestone Oct 20, 2022
@PVince81
Copy link
Member

confirmed also on master, there's no JS error

might be a visibility bug that prevents the date picker row to appear

@PVince81 PVince81 added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Oct 20, 2022
@szaimen szaimen added the high label Oct 20, 2022
@PVince81
Copy link
Member

⚠️ while fixing the visibility issue I noticed that whatever expiration date was saved, it doesn't populate the date field, neither for link shares not internal shares.

so there's more trouble ahead.

I wonder if this was fixed in more recent nextcloud/vue versions since master is still on v7.0.0-beta.4.

@PVince81
Copy link
Member

nope, I updated to nextcloud/vue v7.0.1 locally and the problem persists

perhaps the ":value" field doesn't work with the date from the DB in the format "2022-10-31 00:00:00"

@PVince81
Copy link
Member

Raised nextcloud-libraries/nextcloud-vue#3403 for the ActionInput date picker regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of 25-feedback bug high regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants