Page MenuHomePhabricator

Bug in length constraint preventing form editing statements
Closed, ResolvedPublic

Description

Sometimes it is not possible to change an statement.

For example see here: https://www.wikidata.org/wiki/Q102264

  • The Moon Psamathe (Q129168) is the wrong item (Q19535 would be right)
  • If trying to edit it I get an error with error message "Failed to save the change"

Version: unspecified
Severity: critical

Details

Reference
bz44762

Event Timeline

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

The Example above is gone (my fault, sorry) – but the problem is still there.

Another example: http://www.wikidata.org/wiki/Q16 <- can't remove File:CAN_orthographic.svg from commons media file statement

This is a bug in the length constraint. There is a newer patchset, but I guess we should use the DataValidators and only check what users try to store. We should also create a special maintenance page to list overly long labels, aliases and descriptions, they are most likely spam. It is an open question if we should allow somewhat to long strings to make it easy to find the spam afterwards.

Note that on wikidata.org another bug hides the true nature of this bug and makes it appear as if the save failed. This is because the actual detection is inside the pre save checks and the error messages are lumped together.

Fix exist (https://gerrit.wikimedia.org/r/#/c/50770/) but does not seem to be merged. Someone else should create a working patch.

  • Bug 46487 has been marked as a duplicate of this bug. ***

Seems to be fixed. Please reopen if not.

Is bug 49642 the same thing? Because I experienced that two days ago.