MarkTraceur has uploaded a new change for review.

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/orgchart 
refs/changes/48/29348/1
--
To view, visit https://gerrit.wikimedia.org/r/29348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

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

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

Reply via email to