Lucas_Werkmeister_WMDE added a comment.

  So far, what I’ve noticed with the debugger is that 
`RestoreSubmitActionTest::testRestoreSubmit()` creates two EntitySchema 
revisions, which are assigned revids 2 and 3; `RestoreSubmitAction` then looks 
up the latest revision and compares it to the given `wpBaseRev` to see if there 
was an edit conflict in the meantime. With the class alias present, it 
correctly gets 3 as the latest revision ID; with the alias removed, it instead 
gets 2. It feels like some kind of instance cache isn’t being cleared between 
test runs anymore, but I have no clue how the class alias can have that effect.

TASK DETAIL
  https://phabricator.wikimedia.org/T345164

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, pdehaye, Nandana, 
Lahi, Gq86, Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, 
LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, MisterSynergy, abian, 
Wikidata-bugs, aude, Lydia_Pintscher, Jdforrester-WMF, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to