Hi Manasa,
If I understand it correctly, you are putting the widget in the wrong spot. You are talking about a 1..* relation between A en B.
Does this make sense?
I got the same error. Looking into the console, the problem seems to be a violation of the PRIMARY KEY constraint. What happens is that all the images are being saved at the same time and all try to create an object with the same id.
A simple solution is by deselecting the autosave option in the FileDropper properties. This will avoid the images are saved simultaneously. However, you do have to manually select each image to save it.
Probably a better solution is to add a before accept MF and simply commit each object.
Found a solution that worked for me. I got this and then realized that I had a data grid as a starting point where I clicked NEW to create the context object that held the files. When you do this.. the context object is NOT COMMITTED yet. When you try to upload files, there must be a problem with trying to find an ID of the context object that causes this “unique contstraint violation” error. Once I fixed it so the context was committed, it worked
please how fixed it , explain more ? your answer