You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2018/05/18 14:19:23 UTC

[GitHub] sebbASF opened a new issue #454: Bug: push-failures.py expects to find non-existent 'id' key in json file

sebbASF opened a new issue #454: Bug: push-failures.py expects to find non-existent 'id' key in json file
URL: https://github.com/apache/incubator-ponymail/issues/454
 
 
   The push-failures script reads the .json files created by the archiver if it cannot write a message to the database.
   
   The script expects to find the key 'id' in the json file, however the archiver does not save the value.
   
   It so happens that the 'id' is also saved as mbox['mid'].
   This is unlikely to change, but ISTM that it would be better if the archiver saved the id in the json.
   
   A possible work-round is to default to mbox['mid'] if the 'id' key does not exist.
   The archiver should also be updated to provide the key.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services