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

Use prefixed internal Strapi ID as rpbId and support duplicate / clone functionality in list view #47

Merged
merged 2 commits into from
Oct 2, 2024

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    68f2fd6 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Support duplicate / clone functionality in list view (RPB-186)

    For articles and independent-works. Problem was the non-editable,
    non-unique `rpbId` in the clone, which failed to validate. Fixed:
    
    - Set `rpbId` to `"unique": false` (but still non-editable)
    - Set `rpbId` to prefixed internal Strapi ID in `afterCreate` hook
    (like in RPB-194 for new entries that have no `rpbId`, but
    additionally if there are multiple entries with the same `rpbId`,
    i.e. we created a clone)
    fsteeg committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    cada017 View commit details
    Browse the repository at this point in the history