amotl
(Andreas Motl)
2020 年 12 月 7 日午後 3:36
1
Hi there,
while working on investigating Database migration chokes on huge value of a "calendar-details" item in table "post_custom_fields" , we amended the topic title twice in order to better reflect the reason and outcome of our research into the respective details.
Now, when trying to find the topic back using the search feature at Search results for 'calendar-details' - Discourse Meta , we found that there is some truncation going on when displaying the topic title.
I haven’t seen this before so I wanted to share this with you.
Keep up the good work and with kind regards,
Andreas.
eviltrout
(Robin Ward)
2020 年 12 月 7 日午後 7:22
2
On meta we have enabled the hidden site setting use pg headlines for excerpt
which produces this result. It’s a performance optimization introduced in:
https://github.com/discourse/discourse/commit/2193d0243377831caf96d8eaddb859813dae2bb0
「いいね!」 4
tgxworld
(Alan Tan)
2020 年 12 月 8 日午前 1:40
5
SiteSetting.use_pg_headlines_for_excerpt
will be true by default in the next release so I’ll have to fix this bug.
「いいね!」 4
tgxworld
(Alan Tan)
2020 年 12 月 21 日午前 6:49
7
「いいね!」 3
tgxworld
(Alan Tan)
2021 年 6 月 8 日午前 1:41
10
Yup I need to get to this for the next release.
「いいね!」 1
sam
(Sam Saffron)
2021 年 6 月 8 日午前 3:09
11
Note we needed some bypasses here for Chinese locales (I think) it was injecting tons of spaces.
「いいね!」 1