Watchdog messages that contain links get truncated too short. This patch replaces <a> tags with <em> tags on the overview page.

CommentFileSizeAuthor
watchdog_6.patch896 bytesdarren oh

Comments

darren oh’s picture

Title: Messages are cut too short on the overview page » Messages that contain markup are mangled on the overview page
darren oh’s picture

Title: Messages that contain markup are mangled on the overview page » Overview mangles messages that contain markup
Zen’s picture

Won't a strip_tags call (retaining ems) be better?

-K

darren oh’s picture

There's plenty of better ways. I thought this was something that needed to be dealt with quickly.

Zen’s picture

Version: 5.x-dev » 6.x-dev
Status: Needs review » Needs work

Why don't we fix it right, then? This is not exactly a critical issue after all ...

Setting to 6-dev.

-K

darren oh’s picture

Personally, I would prefer a quick fix to having no fix until it's done "right". It's better for Drupal's image.

pancho’s picture

Status: Needs work » Postponed (maintainer needs more info)

Does this problem still occur? In the meantime we have seen changes in both truncate_utf8() and the complete watchdog system.
If this still occurs, please provide a test case. Thanks!

darren oh’s picture

Version: 6.x-dev » 5.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)

This is a Drupal 5 bug. Apparently it's being retained to motivate users to upgrade.