Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
KARTHIK VENKATARAMAN
json web service add-article liferay
September 26, 2012 6:11 PM
Answer

KARTHIK VENKATARAMAN

Rank: New Member

Posts: 3

Join Date: September 26, 2012

Recent Posts

I am using Liferay 6.1 EE

Issue
Use web service add-article to add a new journal article.
Pass value 0 to classNameId parameter.
I get the following exception
com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 0
So I changed classNameId to a positive value.
The article gets added but is not being displayed in the liferay webcontent list.
I had to manually update the classNameId to 0 in JournalArticle table in the DB for the newly added article to appear in the web content list

Please suggest possible solution.