6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12600] Horde_History::getByModSeq() broken by design?
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..___.__..___..___ | |[__ [__] _/ [__ |__|[___| |./__.[___
Comment
> While tracking down failed History tests on Postgres, I noticed some > strange, at least undefined behavior of getMyModSeq(). Is it supposed > to return all history IDs of changed during the modseq sequence, or > only the most recent? It does neither, currently. And the docs are > confusing: "@return array An array of history object ids" > Returning all entries doesn't work because the returned hash is keyed > by object IDs, so it will only return at most one entry per object. > Returning the most recent entry doesn't work because the query > doesn't specify any order, so selectAssoc() will return whatever > happens to be the last returned row.
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