Bug 118913

Summary: DHTML editor relies on a perl script for Spell Checking functionality
Product: [Retired] Red Hat Enterprise CMS Reporter: Daniel BerrangĂ© <berrange>
Component: uiAssignee: ccm-bugs-list
Status: CLOSED WONTFIX QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: nightly   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-02 17:36:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Berrangé 2004-03-22 18:47:04 UTC
Description of problem:
The new DHTML editor we integrated with Core / CMS uses a perl CGI
script to interfact to GNU ASpell. There are a couple of problems with
this:

 * It breaks our general rule of being pure java at runtime.
 * The Perl version that comes with RHEL 2.1 doesn't support unicode
to a level sufficient for the Perl spell checker to work
 * Both RHEL 2.1 & 3 ship with an old unmaintained ASpell that was
discontinued 2 years ago & has completely different C++ API.
 * Installing the new ASpell RPMs causes RPM DB conflicts & clash in
the /usr/bin namespace

The solution is for us to write a drop in replacement for the CGI
script in Java instead of Perl. We could keep the exact same request
contract, so no further forking of changes to the HTML Editor would be
required.

Our replacement could leverage the JTextCheck library which provides a
JNI wrapper to ASpell:

http://linux.org.mt/projects/jtextcheck/index.html

This library abstracts out the impl of the spell checker, so we could
subsitute in an alternative non-JNI solution if we discover one /
someone pays for a commercial one.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2006-09-02 17:36:56 UTC
Closing old tickets