sebbASF opened a new issue #450: Bug: copy-list.py does not work URL: https://github.com/apache/incubator-ponymail/issues/450 The copy-list.py tool does not work when copying source to target within a database. This is partly because it updates the wrong field: if targetLID: if not newdb: body['list_raw'] = targetLID body['list'] = targetLID This should be body['_source']['list_raw'] = targetLID However fixing this won't copy the list, it will move the list. This is because the document id is not updated. There can only be one document with a given id in each database, so the amended copy replaces the original. The list name is present in clear text in the document id so it could be updated.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
