MaRDI4NFDI / portal-compose

docker-composer repo for mardi
https://portal.mardi4nfdi.de
GNU General Public License v3.0
3 stars 1 forks source link

unique key violation for denumber #489

Open physikerwelt opened 4 months ago

physikerwelt commented 4 months ago

Describe the bug there should only 1 de number be assigned to one mardi qid. This is not always the case

See https://portal.mardi4nfdi.de/w/index.php?title=Item%3AQ559658&diff=11852950&oldid=1841932

Expected behavior (A clear and concise description of what you expected to happen.)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots (If applicable, add screenshots to help explain your problem.)

Additional context Add any other context about the problem here.

Checklist for this issue: (Some checks for making sure this issue is completely formulated)

LizzAlice commented 4 months ago

Found the reason for this. After the redirection script is through, I will run the script that adds ids to items that are missing them and then I will do I run where I delete and reupload the items containing more than one de number/ zbl_id