aude added a comment.

this happens not just on Special:NewEntity, but as well Special:NewProperty, 
SetLabel, etc.

the fix will apply to all these cases and generally for anything that uses 
SqlIdGenerator.

Options include:

- extend DBAccess in core, which allows to lazy initialize. (though would 
prefer to have DBAccess as a constructor param / member variable that we can 
mock)
- put LoadBalancer param in the constructor instead of DatabaseBase, which 
allows to lazy initialize
- have some other DBAccess object that is non-abstract that we can put in the 
constructor.


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

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

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

To: aude
Cc: hoo, JanZerebecki, aude, Joe, Krenair, PleaseStand, gerritbot, bd808, 
Aklapper, aaron, Wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to