duplicating an entity with two "Attachments Multiple" fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ceonello
    Member
    • Feb 2020
    • 36

    duplicating an entity with two "Attachments Multiple" fields

    Hi all,
    When duplicating an entity with two Attachments Multiple fields, the attachments of one field are propagated to the other field.

    To reproduce the problem:
    - Add a custom field "Attachments 2" of type Attachments Multiple to the Case entity
    - Create a new case and attach a file to the Attachments field.
    - Duplicate the just created case
    - The file attached to field "Attachments" are now attached also to field "Attachments 2"
    - if you keep duplicating the entity, the attachments will be duplicated within the same field (fields Attachments and Attachments 2 will have two files attached, then four, then eight and so on....)


    Thank you!
    bye
    Last edited by Ceonello; 11-16-2020, 11:02 AM.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    Here's the fix: https://github.com/espocrm/espocrm/c...fcef6ea60a8633

    Thanks for reporting.
    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

    Working...