Pretty sure that creating the default my-index blocks in upgrade using the SITEID as the parentcontextid is incorrect.
I've commit a fix now but could you please confirm that for me and revert is I've got it wrong.
Also, this has led to these default blocks being created with the wrong parentcontextid's after the upgrade.
This resulted in warnings during the upgrade.
What would be the best plan of attack to cleaning this up/correcting it do you think?
On moodle.org SITEID !== SYSCONTEXTID.