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

List view: Related to field (id: parent_name) Shows Parent type duplicate when parent type is also present in the list view #574

Open
AlexMyddleware opened this issue Nov 26, 2024 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@AlexMyddleware
Copy link

AlexMyddleware commented Nov 26, 2024

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

image

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.

image

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.
image

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

@AlexMyddleware AlexMyddleware added the Type: Bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant