I am trying to import wordpress content into liferay 6.1 using the wordpress importer plugin 1.2
It works fine on blogs , but fails on the page content – page is created in the structure however the content throws an exception:
Starting the WordPress importer
Creating page "Hello world!"
com.liferay.portlet.journal.ArticleTitleException
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.validate(JournalArticleLocalServiceImpl.java:3280)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.validate(JournalArticleLocalServiceImpl.java:3370)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.addArticle(JournalArticleLocalServiceImpl.java:187)
If i edit the wordpress exported XML file and change from
<wp:post_type>page</wp:post_type>
to
<wp:post_type>post</wp:post_type>
import is successfull.
Any ideas what might be the case? Please help
I checked the source code and found that this exception is occuring because of the condition
So, in your case, the
JournalArticle
which you are importing has some flaws either of the followingclassNameId
is not available at the time of importCould you please check this particular article in word press?