Made a backup of the SQL. As a temporary fix ive deleted the affected pipelines in the SQL. The user will redraw these pipelines. The components are still in the database thou...so making a report for example on all pipecomponents on specified pipeline will be a bit tricky since the new pipeline will be named the same as the deleted one. Oh yeah also removed gaskets from involved equipment components. Did this with OPM
This is a bit of a trialproject so I think this solution will be enogh for this project but if this would have been a detail-project this solution isnt a solution.
This sort of error is unacceptable!