Core properties from OOXML files in 3.5

2009-01-05 Thread Antony Bowesman
Is there a plan to get the core.xml document properties parsed before the final 
release.  Currently the getMetaDataTextExtractor method throws


java.lang.RuntimeException: Not yet supported for OOXML!

Thanks
Antony


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



DO NOT REPLY [Bug 46479] New: [PATCH] evaluateInCell fails if the formula was previously invalid

2009-01-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46479

   Summary: [PATCH] evaluateInCell fails if the formula was
previously invalid
   Product: POI
   Version: unspecified
  Platform: All
OS/Version: All
Status: NEW
  Keywords: PatchAvailable
  Severity: normal
  Priority: P2
 Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: robert_long...@standardandpoors.com


Created an attachment (id=23086)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23086)
patch

a) Create a formula that is invalid e.g. put XXX in A1 and =A1+1 in B1.
b) Change the value in A1 to 2.5
c) Call HSSFFormulaEvaluator.evaluateInCell on B1

Actual Result: java.lang.IllegalStateException: Cannot get a numeric value from
a error formula cell

Expected Result: B1 contains 3.5

POI 3.1 did not have this problem but POI 3.2 and all newer versions including
the current trunk do.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



DO NOT REPLY [Bug 46479] [PATCH] evaluateInCell fails if the formula was previously invalid

2009-01-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46479





--- Comment #2 from Robert Longson robert_long...@standardandpoors.com  
2009-01-05 08:05:28 PST ---
Created an attachment (id=23088)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23088)
testcase


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



DO NOT REPLY [Bug 46479] [PATCH] evaluateInCell fails if the formula was previously invalid

2009-01-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46479





--- Comment #1 from Robert Longson robert_long...@standardandpoors.com  
2009-01-05 08:03:59 PST ---
Created an attachment (id=23087)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23087)
testcase


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[g...@vmgump]: Project poi (in module poi) failed

2009-01-05 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project poi has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 28 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- poi :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/poi/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Output [poi-ooxml-gump-05012009.jar] identifier set to output 
basename: [poi-ooxml-gump]
 -DEBUG- Output [poi-contrib-gump-05012009.jar] identifier set to output 
basename: [poi-contrib-gump]
 -DEBUG- Output [poi-scratchpad-gump-05012009.jar] identifier set to output 
basename: [poi-scratchpad-gump]
 -DEBUG- Output [poi-gump-05012009.jar] identifier set to output basename: 
[poi-gump]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/poi/gump_work/build_poi_poi.html
Work Name: build_poi_poi (Type: Build)
Work ended in a state of : Failed
Elapsed: 38 secs
Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dversion.id=gump -DDSTAMP=05012009 -f build.xml gump 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.3.0.jar:/srv/gump/public/workspace/poi/ooxml-lib/jsr173_1.0_api.jar:/srv/gump/public/workspace/poi/ooxml-lib/ooxml-schemas-1.0.jar:/srv/gump/public/workspace/poi/ooxml-lib/openxml4j-1.0-beta.jar:/srv/gump/public/workspace/poi/build/classes:/srv/gump/public/workspace/poi/build/contrib-classes:/srv/gump/public/workspace/poi/build/scratchpad-classes:/srv/gump/public/workspace/poi/build/ooxml-classes:/srv/gump/public/workspace/poi/build/test-classes:/srv/gump/public/workspace/poi/build/scratchpad-test-classes:/srv/gump/public/workspace/poi/build/ooxml-test-classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/di
 
st/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-05012009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-05012009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-05012009.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-05012009.jar:/srv/gump/public/workspace/apache-commons/collections/build/commons-collections-05012009.jar:/srv/gump/public/workspace/apache-commons/lang/commons-lang-05012009.jar:/srv/gump/public/workspace/junit/dist/junit-05012009.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/dom4j/build/dom4j.jar
-

testexist:

downloadfile:
  [get] Getting: 
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.1.jar
  [get] To: /srv/gump/public/workspace/poi/lib/commons-logging-1.1.jar

testexist:

downloadfile:
  [get] Getting: http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.13.jar
  [get] To: /srv/gump/public/workspace/poi/lib/log4j-1.2.13.jar

testexist:

downloadfile:
  [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar
  [get] To: /srv/gump/public/workspace/poi/lib/junit-3.8.1.jar

check-ooxml-jars:

fetch-ooxml-jars:

testexist:

downloadfile:
  [get] Getting: http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.6.1.jar
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/dom4j-1.6.1.jar

testexist:

downloadfile:
  [get] Getting: 
http://www.ibiblio.org/maven/org.apache.xmlbeans/jars/xmlbeans-2.3.0.jar
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.3.0.jar

testexist:

downloadfile:
  [get] Getting: 
http://www.ibiblio.org/maven/xmlbeans/jars/jsr173_1.0_api.jar
  [get] To: 

DO NOT REPLY [Bug 46479] [PATCH] evaluateInCell fails if the formula was previously invalid

2009-01-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46479


Josh Micich j...@gildedtree.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #3 from Josh Micich j...@gildedtree.com  2009-01-05 13:12:20 PST 
---
Thanks for the patch.  There is some ambiguity in original design as to whether
setCellType() should be called before or after setCellValue().  The methods
overlap in behaviour:  setCellValue() may change the cell type, and
setCellType() converts the old cell value to the new type and sets the new
value in the cell.
The new ordering of these calls (setCellValue before setCellType) actually
causes other junits to fail, but your fix still seems correct to me.

Three other related bugs were found and fixed, and junits added for all of
them. 

svn r731715 ( https://svn.apache.org/viewcvs.cgi?view=revrev=731715 )

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org