6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1257] Incomplete Thread View
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__..__ .___. , [__ | |[ __[__ \./ | |__\[_./[___ |
Comment
> Response from K-team: > > Sorry, I thought it was clear....you just have to send a mail from an > > empty mailbox and reply a couple of times, so that you have a thread. > > if you sort the mailbox by thread it seems good, but when you read a > > message from the thread, if you click on "View Thread" it shows just > > the message you were reading. After investigating a while I noticed > > that _getKey sometimes returns key=0 for the first mail in thread. in > > getThreadBase this test: > > if ($key = $this->_getKey($index)) > > fails if $key is 0, so I modifyed it in > > $key = $this->_getKey($index); + if (isset($key)) > > and set return value to null in _getKey when it fails. > > I also changed $key++ to ++$key for the same reason, the while loop > > breaks soon if $key is 0. > > As far as regards the third point, I've run into a situation in which > > a deleted message breaks the thread and it displays nothing, so > > thought it was better to end the cycle and just skip the message. > > > > Hope it's clearer now > > K-team
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