Page MenuHomePhabricator

Database error when adding the same value twice
Closed, ResolvedPublic

Description

An item contains a statement with value X. When you add an additional identical value to that statement a query error is thrown and it is no longer possible to add any new statements to that item.


Version: master
Severity: major
Whiteboard: u=dev c=backend p=5

Details

Reference
bz64431

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:21 AM
bzimport set Reference to bz64431.
bzimport added a subscriber: Unknown Object (MLST).

The error just says "Database query error".

Not been able to reproduce this so far. Who encountered this error?

Test added by https://github.com/wmde/WikibaseQueryEngine/pull/42

Ok, so will need more info to continue working on this. To me it looks like the issue is not there, at least not in general. Perhaps it got fixed, or perhaps it only occurs for some particular inputs.

Never mind, found the cause of the issue. I accidentally fixed it already.