6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10241] removing user data doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___.__ . ..___. | [__ | \|\/| _/ | [___|__/| |./__.
Comment
>>> Should shares in *_sharesng tables still exist after user data >>> removal? Because currently they still do. >> >> Shares that the user is the owner of, in the currently active share >> driver should be removed. So, if you are using the ng sql driver, >> then no, they shouldn't still exist. If you are using the legacy sql >> share driver, then the ng table would not be touched. If you *are* >> using the ng driver, then check your log for any errors and post >> back. I've tested locally with both sql drivers and all user-owned >> shares are now properly removed. > > Yes, i'm using NG driver. For me entries in kronolith_sharesng and > mnemo_sharesng are still there. > > Uf, this a little bit bad, but I just noticed that removeUserData for > kronolith and mnemo removes shares of the admin who is deleting the > data, not the user's data. > > DELETE FROM kronolith_sharesng_groups WHERE share_id = 450 > [pid 31447 on line 801 of "/usr/share/pear/Horde/Db/Adapter/Base.php"] > DELETE FROM mnemo_sharesng_users WHERE share_id = 462 [pid > 31447 on line 801 of "/usr/share/pear/Horde/Db/Adapter/Base.php"] > > Both shares_ids are mine :(. > > Also during debuging I've noticed that horde does spit a lot of these > messages: > DELETE FROM horde_prefs WHERE pref_uid = 'turba3@lnk.lt' AND pref_name > > They are executed like 40 or 50 times.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers