Bug 36005 - [PATCH] Unknown Ptg 2a
Summary: [PATCH] Unknown Ptg 2a
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2005-08-03 22:45 UTC by Peter Wooster
Modified: 2006-01-17 01:23 UTC (History)
0 users

patch to use RefErrPtg (1.25 KB, patch)
2005-08-03 23:00 UTC, Peter Wooster
Details | Diff
new java class RefErrPtg.java (1.23 KB, application/x-zip-compressed)
2005-08-03 23:16 UTC, Peter Wooster

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wooster 2005-08-03 22:45:25 UTC
Deleted references produce a message on stderr "Unknown Ptg 2a".  The tokens 2a,
4a and 6a are defined by the openoffice documentation as tRefErr.  I have
created a RefErrPtg.java based on RefPtg.java and modified Ptg.java to use it. 
This allows  testcases/**/usermodel/TestBugs to complete without reporting this
message. I've tested this by rerunning the tests in the build and by using a
roundtrip test and confirming that the resulting file can be read by Excel 2003
with  the damaged formula intact.
Comment 1 Peter Wooster 2005-08-03 23:00:59 UTC
Created attachment 15869 [details]
patch to use RefErrPtg
Comment 2 Peter Wooster 2005-08-03 23:16:14 UTC
Created attachment 15870 [details]
new java class RefErrPtg.java
Comment 3 Jason Height 2006-01-17 10:23:49 UTC

This was probably overtaken by events some time ago. RefErrorPtg has been added
and is available in SVN.