Information does not update after bulkupdate
Closed this issue ยท 5 comments
Steps to reproduce:
- Setup a few groups with suffixes or other meta/information (with MongoDB as storage).
- Bulk-remove all suffixes or any other information.
- When running
lp group admin2 info
the old meta-data still shows. This is not updated until the commandlp sync
is run.
I am not certain if this is because of the MongoDB adapter or something else. Nor am I sure if this is supposed behavior. If so then it would be good to inform sync is required after a builk-update on the wiki. ๐
From more testing, this seems to happen only on meta-data and suffixes.[1] Not on permissions. ๐ค
[1] (I have not tested on prefixes because I want to keep them. ๐คฃ)
Can you give more infos please?
2. Bulk-remove all suffixes or any other information.
isn't a good explanation...
What exact command did you use?
lp group admin2 meta info
lp bulkupdate groups delete "permission ~~ suffix.%"
lp group admin2 meta info
<-- the same suffix still shows, I have to runlp sync
for it to update.
@Andre601 I don't understand how that would help. ๐ค It updated successfully. The bug I am reporting is that the (what I assume) cache this not update. Running lp sync
made it display the correct result, however, I think that bulkupdate should clear the cache automatically.