otrs3 spell checker bug in SpellingInline.pm

Bug #1042166 reported by Martin Stodieck
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
otrs2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu: 12.04.1 LTS
Package: otrs2
Version: 3.0.11+dfsg1-1

Error occurs in Apache error.log when using inline spell checking in otrs:

"Use of uninitialized value $JS in concatenation (.) or string at /usr/share/otrs//Kernel/Modules/SpellingInline.pm line 98."

Excerpt from "SpellingInline.pm" line 98:

---
$JSData .= "suggs[0][$Count] = $JS;\n";
---

$JS seems to be uninitialized in some cases, maybe this could be a solution:

---
$JSData .= "suggs[0][$Count] = $JS;\n" if $JS;
---

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in otrs2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.