In a file-based custom module, view file information in the subpanel and list view #10576
Labels
Area: Module
Issues & PRs related to modules that do not have specific label
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
In a custom module based on the file type template, when adding the field that refers to the file (upload) in the list view, the link to the file name that allows its download is not displayed, only the eye icon that allows opening the file directly in the browser is displayed, unlike what happens in the Documents module, where both options appear. The same thing happens in the subpanel view.
As we have seen, there are important differences at the Vardef level between the Documents module and a custom module that inherits from the File template:
Document Vardef:
Custom File module Vardef:
Possible Fix
Update the structure and views of the File template so that when you create a custom module based on that template, it behaves like the Documents module
Steps to Reproduce the Issue
Context
No response
Version
7.14.4
What browser are you currently using?
Firefox
Browser Version
131.0.3 (64-bit)
Environment Information
MySQL, PHP Version 8.2
Operating System and Version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: