verbb / smith

A Craft CMS plugin to add copy, paste and clone functionality to Matrix blocks.
MIT License
25 stars 9 forks source link

Copy not working due to missing owner ID in matrix block #33

Open jripmeester opened 9 months ago

jripmeester commented 9 months ago

Describe the bug

We have a issue with a specific Matrix field of which a block will not copy. The error coming in is: "Matrix block is missing its owner ID"

It does work on other matrix block on a another matrix field. So i think it's somewhere in the field configuration. These are the fields on the matrix block. Scherm­afbeelding-2023-11-17-om-14 30 03

Any idea on what might cause this error?

Steps to reproduce

  1. Install craft and smith
  2. recreate matrix block with fields as specified in image
  3. Try to clone matrix block on a entry

Craft CMS version

4.5.9

Plugin version

2.0.0

Multi-site?

Yes

Additional context

No response

jripmeester commented 8 months ago

@engram-design Could you have a look at this issue. We tend to get stuck where this goes wrong. Do you have a idea?

engram-design commented 8 months ago

It's not something I can replicate, sorry - and I've tried tens of different Matrix field setups. Any chance you could send through your database? If so, send through to support@verbb.io with some instructions on where to find the problematic block.