List view: Related to field (id: parent_name) Shows Parent type duplicate when parent type is also present in the list view #574
Labels
Area: Listview
Issues & PRs related to all things regarding the Listview
Priority:Important
Issues & PRs that are important; broken functions; errors; there are workarounds
Severity: Moderate
Minor Impact
Type: Bug
Something isn't working
Issue
This was done with Suitecrm 8.7 (tested on 8.6.2 too, the same happens) on a fresh install, php 8.2.
I went to the studio for the meeting module, and in the Layout section, i went for the list view. I did one thing only, and no other change to anything else on the app: I slid the parent type from the hidden column to the default column.
Expected behaviour :
the list view should show the Related to on the left and the Parent type on the right
Actual behaviour:
the list view shows Related to on the left and the Parent type on the right, but it also shows the Parent type Inside the field related to. It is a second and different link, it points to the meeting record.
Also, amazingly enough, it's the first time I encounter an html element that I simply cannot open in the devtools. As soon as I try to unfold the div that contains the link, it closes back immediately.
Possible Fix
No response
Steps to Reproduce the Issue
1. Install a fresh Suitecrm 8.7 2. Go to the studio and add the Parent type to the list view of a module, assuming the Related to field is already present 3. Go to the list view of the module, the bug should be visible. ...
Context
This bug is creates confusion for our client, and on top of that it is not easily fixable I tried to edit the list view def and remove the
parent_type element of the array related_fields to see if that caused the issue, but it did not solve the problem. The duplicate goes away as soon as we remove the parent type field, however. I haven't reproduced this bug by any other means, to my knowledge only this pair of fields causes the bug
Version
8.7.0
What browser are you currently using?
Firefox
Browser Version
Firefox version 132.0.2 (64-bit)
Environment Information
PHP 8.2, Mysql 5.7.33
Operating System and Version
Windows 11 23H
The text was updated successfully, but these errors were encountered: