Page MenuHomePhabricator

Adding a second gloss results in an error
Closed, ResolvedPublic8 Story PointsBUG REPORT

Description

Steps to Reproduce:

  • Add first gloss in one language
  • Press publish
  • Add second gloss in one language
  • Press publish

Actual Results:

Danish error message:

Der opstod en fejl under forsøget på at gemme og derfor kan ændringerne ikke gennemføres.

Field "senseId" contains an ID of a Sense "L55506-S1" that could not be found.

Expected Results:

The sense should be saved.

Event Timeline

Fnielsen created this task.Jul 15 2019, 5:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 15 2019, 5:20 PM

If the page is reloaded by the browser then it is possible to enter the second gloss.

The error also appears when the first gloss is reedited

Lydia_Pintscher added a subscriber: Lydia_Pintscher.

Can confirm when adding a second Gloss to a newly created Sense (no page-reload in between).

It's the same issue as T225070#5334629 We probably fix both in one go.

We should add a regression test for this case here

alaa_wmde triaged this task as High priority.Jul 16 2019, 12:29 PM
alaa_wmde set the point value for this task to 8.

Change 523785 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/WikibaseLexeme@master] Avoid self-conflict in wbleditsenseelements API module

https://gerrit.wikimedia.org/r/523785

Restricted Application added a project: User-Ladsgroup. · View Herald TranscriptJul 16 2019, 5:38 PM

Change 523785 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Avoid self-conflict in wbleditsenseelements API module

https://gerrit.wikimedia.org/r/523785

Yes, I experience no error on the main sight now.