A fix is available
APAR status
Closed as program error.
Error description
When a Visio Drawing OLE object is in the object text, running the spell checker will throw DXL errors.
Local fix
Problem summary
Hidden text in the users data (which is not supported by DOORS but can get imported from other RTF sources) is causing issues.
Problem conclusion
Prevented the error causing DXL errors. The underlying issue is still present and cannot be fixed due to the use of a third party control.
Temporary fix
Remove the hidden text to make the highlighting behave correctly. This can be aided by using some DXL to unhide the text. This DXL will fix the text in the current object to reveal the hidden text. Object curObj = current string objRTFString = richTextWithOle( curObj."Object Text" ); string strWorking = objRTFString Regexp Hidden = regexp2 "\\\\v[ \\\\].+?\\\\v[0-9]" while (Hidden strWorking) { int iStart = start 0 int iEnd = end 0 // Copy all of the RTF, but skip the \v and matching closing \vX string strNew = strWorking[0:iStart - 1] // Avoid inserting consecutive spaces int iSkip = ((strNew[length(strNew)-1] == ' ') && (strWorking[iStart + 2] == ' ')) ? 3 : 2 strNew = strNew strWorking[iStart + iSkip:iEnd - 3] iSkip = ((strNew[length(strNew)-1] == ' ') && (strWorking[iEnd + 1] == ' ')) ? 2 : 1 strNew = strNew strWorking[iEnd + iSkip:] strWorking = strNew } curObj."Object Text" = richText strWorking
Comments
This happens in versions of DOORS prior to DOORS 9.5.1.2. This i s a client side fix.
APAR Information
APAR number
PM71381
Reported component name
TLOGIC DOORS
Reported component ID
5724V61DR
Reported release
930
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-22
Closed date
2013-11-07
Last modified date
2013-11-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC DOORS
Fixed component ID
5724V61DR
Applicable component levels
R951 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYQBZ","label":"Rational DOORS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.3","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
29 October 2021