GitHub user sebbASF opened an issue:
https://github.com/apache/incubator-ponymail/issues/222
Bug: elastic.lua index function should not auto-generate ids
The index function currently silently generates a random id if none is
provided.
This seems very risky - the functioning of PM generally relies on knowing
the id for all ES documents.
The function is currently only called by user.lua, which provides an id in
each case.
So the 'feature' is not currently needed.
It would be much safer to disable the automatic id generation, and fail if
no id is provided.
This would also allow the 'r' request parameter to be dropped - none of the
other functions in the module require it.
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---