sebbASF opened a new issue #184:
URL: https://github.com/apache/incubator-ponymail-foal/issues/184


   The indexes do not have an id property; they use mid instead.
   
   However the 'id' property is frequently referenced in the code, and 
messages.py compensates for this by creating id as a copy of mid in the 
returned json.  This is a bad idea, and is likely to cause issues.
   
   For example, mgmt.py tries to update the mbox entry and fails because "id" 
was so helpfully added by messages.py.
   
   Of course it is possible to drop the id field before the update, but this 
does not solve the issue of what happens if mid and id ever diverge?
   
   There should be at most one message-id field


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to