Skip to content

Duplicate feed entries in modules lead to error on conf import #2

@norro

Description

@norro

When importing an Torii1 config, a duplicate entry (of the same feed) in a module, leads to an error, but should be ignored instead.

Error:
An exception occurred while executing 'INSERT INTO feed_m_u_rel (feed_m_id, feed_u_id, feed_m_u_name) VALUES (?, ?, ?)' with params {"1":"robotik_feabd6aa","2":"162","3":"botmag"}: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'robotik_feabd6aa-162' for key 'feed_m_id'

('botmag' is the feed 'id' of the first occurrence)
It seems to be the duplicate of the feed url not the feed id that causes the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions