Bug 59679 - Typos / broken link in website
Summary: Typos / broken link in website
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HMEF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL: https://poi.apache.org/hmef/index.html
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 12:23 UTC by Tilman Hausherr
Modified: 2016-06-09 15:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Hausherr 2016-06-09 12:23:17 UTC
https://poi.apache.org/hmef/index.html

broken link:
http://svn.apache.org/viewcvs.cgi/poi/trunk/src/scratchpad/

works:
https://svn.apache.org/viewvc/poi/trunk/src/scratchpad/

The sample code doesn't work, some "()" are missing at
getMessageAttributes
getMessageMAPIAttributes
getAttributes
getMAPIAttributes
CID_ATTACHTITLE should be ID_ATTACHTITLE

Text claims that "This code is a new POI feature, and the first release that will contain it will be POI 3.8 beta 2. Until then, you will need to build your own jars".

Luckily this is not true... I was able to get it from maven

        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-scratchpad</artifactId>
            <version>3.14</version>
        </dependency>

and it works nicely.
Comment 1 Nick Burch 2016-06-09 12:53:19 UTC
Thanks for spotting these! Does it look correct to you now?
Comment 2 Tilman Hausherr 2016-06-09 13:29:14 UTC
You've corrected the code, but the scratchpad link is still broken, and the text "Ensure that you have the scratchpad jar or the scratchpad build area in your classpath before experimenting with this code." is discouraging... it's ok that this isn't a release, but it should be mentioned that it is available from maven.
Comment 3 Nick Burch 2016-06-09 13:59:19 UTC
I've had a go at updating the scratchpad notice, do you think it's more helpful now?
Comment 4 Tilman Hausherr 2016-06-09 14:10:02 UTC
It is better... but the link (at the words "scratchpad area") is still broken. Typo: "Scratchad".
Comment 5 Nick Burch 2016-06-09 15:28:34 UTC
Bah, looks like I picked another broken one when I sync'd the new notice across all of the scratchpad pages... Now?
Comment 6 Tilman Hausherr 2016-06-09 15:32:18 UTC
all ok now. Thanks!