No Code Attached Yet good first issue
avatar shawnhy
shawnhy
9 May 2025

Steps to reproduce the issue

  1. Install joomla5.3.0
  2. Create an article title:Chinese content, paste the following:

生丟字穿久寸鴨右戊女相游兆給,幾進千。完至只象共旦節媽訴旁爸壯文玉氣常旁主。呀室英急穿喜息汁奶科雪室馬種比松實合壯回,房浪借文成,重跟第問土別己乙采鼻抄說貫哪洋夏旁登呢加。斤尾衣後。

Please noted there are no space in paragraph.
3. Insert a mod_articles_category in Cassiopeia position [main-top], set Introtext:show and Introtext Limit (characters):30

Expected result

The introtext should trim partially, instead of showing nothing.

Actual result

None of the paragraph content show in the front-end.

System information (as much as possible)

Additional comments

avatar shawnhy shawnhy - open - 9 May 2025
avatar shawnhy shawnhy - change - 9 May 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 9 May 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 May 2025
avatar shawnhy
shawnhy - comment - 9 May 2025

I have just realised that mod_articles_category is marked as Legacy, and I was supposed to move to Modules: Articles. However, [mod_articles] doesn't allow filtering by category. In addition, [mod_articles] also has the same Chinese paragraph trim issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45452.

avatar shawnhy
shawnhy - comment - 9 May 2025

Update: Sorry. I find the way choosing category. But [mod_articles] also has the same Chinese paragraph trim issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45452.

avatar HLeithner
HLeithner - comment - 9 May 2025

Hmm, at this time this is expected behavior.... but doesn't make much sense.

Image

I would personally always allow to cut within a word in mod_articles.

I labeled the issues as good first issue, it's just adding a parameter to the truncateComplex call.

avatar HLeithner HLeithner - change - 9 May 2025
Labels Added: good first issue
avatar HLeithner HLeithner - labeled - 9 May 2025

Add a Comment

Login with GitHub to post a comment