nextcloud / nextcloud/metavox

File Link fields do not save values

Open
#95 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
PHP
Stars
25
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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.

Steps to reproduce
  1. Create a field with type "file link".
  2. Assign field to team folder and files in team folders
  3. edit details of file which is stored in team folder
  4. select file from any folder within the team folder => file name is shown in field
  5. press save => form reloads: file link field ist empty again
  6. check list view => field for file link is empty
Alterntive Steps to reproduce
  1. Open File list => fields of metavox are shown. Fileds with type text and type dropdown contain values (have been entered and saved during process described above). Fields of file link do not show content.
  2. Double Click in field for file link
  3. select file => message appears: metadata updated
  4. filename is shown in list
  5. reload list => filename si empty again
Expected behaviour

The values of the file link field should be saved.

Actual behaviour

The values of the file link field do not get saved.

Server configuration

Web server: Apache

Database: MySQL

PHP version: 8.5

Nextcloud version: 34.0.2

App-List Enabled: - activity: 7.0.0 - admin_audit: 1.24.0 - appstore: 1.0.0 - bruteforcesettings: 7.0.0 - circles: 34.0.0 - cloud_federation_api: 1.18.0 - comments: 1.24.0 - contactsinteraction: 1.15.0 - dashboard: 7.14.0 - dav: 1.39.0 - federatedfilesharing: 1.24.0 - files: 2.6.0 - files_downloadlimit: 5.2.0 - files_lock: 34.0.1 - files_pdfviewer: 7.0.0-dev.0 - files_reminders: 1.7.0 - files_sharing: 1.26.0 - files_trashbin: 1.24.0 - files_versions: 1.27.0 - firstrunwizard: 7.0.0-dev.0 - groupfolders: 22.0.6 - logreader: 7.0.0 - lookup_server_connector: 1.22.0 - metavox: 2.2.0 - nextcloud_announcements: 6.0.0 - notifications: 7.0.0-dev.1 - oauth2: 1.22.0 - password_policy: 6.0.0-dev.0 - photos: 7.0.0 - privacy: 6.0.0-dev.1 - profile: 1.3.0 - provisioning_api: 1.24.0 - recommendations: 7.0.0 - related_resources: 5.0.0-dev.0 - serverinfo: 6.0.0 - settings: 1.17.0 - sharebymail: 1.24.0 - support: 6.0.0 - survey_client: 6.0.0-dev.0 - suspicious_login: 12.0.0-dev.0 - systemtags: 1.24.0 - theming: 2.9.0 - twofactor_backupcodes: 1.23.0 - twofactor_totp: 16.0.0 - updatenotification: 1.24.0 - viewer: 7.0.0-dev.0 - webhook_listeners: 1.6.0 - workflowengine: 2.16.0 Disabled: - app_api: 34.0.0 (installed 34.0.0) - encryption: 2.22.0 - federation: 1.24.0 (installed 1.24.0) - files_external: 1.26.0 - fileviewer: 0.5.0 (installed 0.5.0) - office: 1.0.0 (installed 1.0.0) - text: 8.0.0 (installed 8.0.0) - twofactor_nextcloud_notification: 8.0.0 - user_ldap: 1.25.0 - user_status: 1.14.0 (installed 1.14.0) - weather_status: 1.14.0 (installed 1.14.0)
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.skiclub-bad-schoenborn.de"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "34.0.2.1",
"overwrite.cli.url": "https://cloud.skiclub-bad-schoenborn.de",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"default_phone_region": "DE",
"maintenance_window_start": 1,
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpauth": true,
"mail_sendmailmode": "smtp",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
},
"app_install_overwrite": [],
"serverid": "allinkl-webspace-1",
"loglevel": 2,
"tempdirectory": "/www/htdocs/w00f4fc6/cloud.skiclub-bad-schoenborn.de/data/tmp",
"maintenance": false
}
}

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser

Browser name: Chrome

Browser version: 150.0.7871.187

Operating system: Windows 11

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

a) Browser console log: those messages appear before the metavox fields will be touched. the appear when opening the context menu of the file and open the detail view of the file.

[Violation] 'requestAnimationFrame' handler took 65ms
[Violation] Forced reflow while executing JavaScript took 65ms
core-common.js?v=b5bf7e84-0:1 [Violation] 'setTimeout' handler took 74ms
[Violation] Forced reflow while executing JavaScript took 74ms
/index.php/apps/files/files/214?dir=/Vorstandschaft/Test%20Bilder&opendetails=true:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: <button.action-button button-vue focusable>
Ancestor with aria-hidden: <div.v-popper__popper v-popper--theme-nc-popover-8 _ncPopover_HuRfU action-item__popper v-popper__popper--hidden v-popper__popper--hide-from#popper_4kzvt38c_abn5j9> <div id=​"popper_4kzvt38c_abn5j9" aria-hidden=​"true" tabindex=​"0" data-popper-placement=​"bottom" class=​"v-popper__popper v-popper--theme-nc-popover-8 _ncPopover_HuRfU action-item__popper v-popper__popper--hidden v-popper__popper--hide-to" style=​"position:​ absolute;​ transform:​ translate3d(191px, 324px, 0px)​;​">​…​</div>​

</details>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the file-link field workflow in the metavox app, using both the file detail view and File list described in the issue. Trace the save and reload behavior for a file link, then verify that the selected filename remains visible in both views after saving and reloading.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.