MarkTraceur has submitted this change and it was merged.

Change subject: Fix copying bug by forwarding _id into the copy
......................................................................


Fix copying bug by forwarding _id into the copy

I managed to whitelist modifiable fields, but the problem became
that _id wasn't modifiable, even by the addUnits function that did
most of the copying. So now it's modifiable again, for better or
worse.

Change-Id: Ia6e1aa5155fe868cb292ea712c9fb60c59ed28d8
---
M db/mongo.js
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  MarkTraceur: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/29348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6e1aa5155fe868cb292ea712c9fb60c59ed28d8
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/orgchart
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to