Fórumok

Nyitólap » Liferay Portal » English » 3. Development

Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Beatriz Sánchez
Problem with categories
2012. július 2. 1:32
Válasz

Beatriz Sánchez

Rangsorolás: New Member

Hozzászólások: 8

Csatlakozás dátuma: 2011. április 28.

Legújabb hozzászólások

Hello

We have a problem with the import export of Community liferay version 6.0.6. Import does not work on the publication of content categories. It returns the following error.

07:27:39,868 ERROR [IncludeTag: 231] Current URL / web/intranet2/otros Generates exception: an exception has occurred while processing n the JSP page / html / portlet / asset_publisher / 71 view_dynamic_list.jspf Online

68: assetEntryQuery.setClassNameIds (classNameIds);
69:}
70:
71: total = AssetEntryServiceUtil.getEntriesCount (assetEntryQuery);
72:
73: searchContainer.setTotal (total);
74:


Stacktrace:
07:27:39,869 ERROR [IncludeTag: 154] com.liferay.portlet.asset.NoSuchCategoryException: No AssetCategory With The primary key exists 194684
        at
        at
        at
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at
        at
        at
        at
        at
        at
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke (ChainableMethodAdvice.java: 58)
        at
        at org.apache.jsp.html.portlet.asset_005fpublisher.view_jsp._jspService (view_jsp.java: 1717)
        at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java: 70)
        at javax.servlet.http.HttpServlet.service (HttpServlet.java: 717)
        at org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java: 377)

Thank you very much in advance for everything.
Roderick Van den Heuvel
RE: Problem with categories
2012. július 2. 5:57
Válasz

Roderick Van den Heuvel

Rangsorolás: New Member

Hozzászólások: 7

Csatlakozás dátuma: 2012. március 21.

Legújabb hozzászólások

Hello Beatriz,

By publication, do you mean importing?

Could you check if you have checked all necessary options when exporting? From what I can see in the error, you didn't get all required data from the liferay installation you're exporting from .. For ex. When exporting you have the option "show more", which allows you to select options regarding the web content, and maybe regarding your problem : embedded assets? I have no idea if those are the same assets, though ..

If not in the export, maybe you have some properties defined regarding assets in your portal-ext.properties?

Please provide more details on the exact steps you've taken when encountering the error.

Best regards,
Roderick.