New Relationship Attributes not listed in workflows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rouhu
    Member
    • Sep 2020
    • 54

    #1

    New Relationship Attributes not listed in workflows

    1. What errors are logged:
    No Errors detected
    1. Explicit unambiguous steps for reproducing the issue. As much detail as possible, in form of a numbered list of actions.
    Create a relationship from Custom module to Contacts module (many-to-many). Clear cache and rebuilt just in case.
    1. Expected and actual behaviors.
    All new relationship fields are missing from the list of attributes in workflows. New relationship attributes (contactsId, contactsListHolder, contactNames) should appear in the list of attributes when creating formula script for the custom module.
    1. EspoCRM version number. If your version is not the latest, it's possible that the bug is already fixed.
    9.1.8
    1. PHP version number.
    PHP 8.3
    1. Database platform name (MySQL, MariaDB, PostgreSQL) and version number.
    MariaDB 10.5
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9235

    #2
    Many-to-Many relationships do not create accessible attributes unless link-multiple is set. Since the link-multiple is not mentioned in steps to reproduce, I assume this issue is not a bug.

    > it's possible that the bug

    We use the word 'bug' only when the issue is proven to be a bug. Otherwise, it's an issue.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • rouhu
      rouhu commented
      Editing a comment
      You are correct, attributes appear in v9.1.8 if link-multiple is selected. However it works differently than in v8.3.4. so was assuming a defect. Thanks for the clarification.
Working...