Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Publish is not publishing more than one item when cardinality is unlimited #1843

@dsenalik

Description

@dsenalik

PR #1867 (closed)

PR #1882

Tripal Version

4.x-dev

Drupal Version

10.2

PostgreSQL Version

13.14

PHP Version

8.3

General Description

It appears that publish is not publishing more than one item when cardinality is unlimited. Only the first one gets published.

Steps to reproduce

1-4. Create two contacts, and two projects. Do not put a contact on the project or vice versa.
5. Generate links with this SQL: insert into project_contact (project_id, contact_id) values (1,2), (1,3), (2,2), (2,3);
INSERT 0 4
6. Publish contact and run the job
7. Publish project and run the job (don't run both together because of issue #1716) (fixed with PR #1841)
8. Rebuild cache drush cache:rebuild
9. Observe that only one contact is present on each project, only one project present on each contact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Group 1 - Tripal Content Types | Terms | FieldsAny issue relating to Tripal Content including types, terms, and fields.bug - confirmedFor issues where a core developer has confirmed a bug exists.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions