ColdMillenium / jwpl

Automatically exported from code.google.com/p/jwpl
0 stars 0 forks source link

Page.getInlinkAnchors() won't return correct anchors. #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear developer-team,

in reference to de.tudarmstadt.ukp.wikipedia.api.Page the getInlinkAnchors() 
method did not return any results though InlinkAnchors do exist.

This, in my opinion, is caused by the wrong declaration of pageTitle 
incorrectly referring to the name of the page which is checked for Inlinks 
rather than the page for which we want to locate the anchors:

String pageTitle = p.getTitle().getPlainTitle();

The correct definition is the following:

String pageTitle = hibernatePage.getName();

I hope that helps. Keep up the good work!

Greetings
David Mueller

Original issue reported on code.google.com by anl...@gmail.com on 27 Dec 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Thanks for the report and sorry for the late reply. This issue seems to got 
lost.
I'll look into it.

Original comment by oliver.ferschke on 20 Feb 2012 at 9:39

GoogleCodeExporter commented 9 years ago
Thanks a lot. The report was valid and your suggestions seems to fix the bug.

The issue has been fixed in revision 553 and will be shipped in the next 
release.

Original comment by oliver.ferschke on 20 Feb 2012 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by oliver.ferschke on 20 Feb 2012 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by oliver.ferschke on 15 Aug 2012 at 9:21