Fórumok
Error importing LAR
Dmitry Brin, módosítva 13 év-val korábban
Error importing LAR
New Member Bejegyzések: 24 Csatlakozás dátuma: 2010.06.29. Legújabb bejegyzések
I am getting the following error when trying to import LAR. Any suggestions on how to resolve it? I don't know which article is a problem for certain but I have a guess.
Thanks very much,
D
p.s. 5.2 SP3
...
2010-06-29 17:19:03,500 WARN [JournalPortletDataHandlerImpl:945] An article with the ID 199839 already exists. The new generated ID is 213321
2010-06-29 17:19:03,527 WARN [ImagePersistenceImpl:285] No Image exists with the primary key 213332
2010-06-29 17:19:03,529 WARN [ImageLocalServiceImpl:200] Unable to get image 213332: No Image exists with the primary key 213332
2010-06-29 17:19:03,532 WARN [ImagePersistenceImpl:143] No Image exists with the primary key 213332
2010-06-29 17:19:03,585 WARN [JournalPortletDataHandlerImpl:945] An article with the ID 199847 already exists. The new generated ID is 213329
2010-06-29 17:19:03,617 ERROR [ImportPagesAction:84] com.liferay.portal.SystemException: com.liferay.portal.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
com.liferay.portal.SystemException: com.liferay.portal.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:468)
at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:368)
at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:644)
at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:612)
...
Thanks very much,
D
p.s. 5.2 SP3
Cristiano Carretti, módosítva 12 év-val korábban
RE: Error importing LAR
New Member Bejegyzések: 2 Csatlakozás dátuma: 2011.11.25. Legújabb bejegyzések
I have the same problem on Liferay 6.1 GA1
Somebody can i help me?
Somebody can i help me?
Jacques Traore, módosítva 10 év-val korábban
RE: Error importing LAR
Junior Member Bejegyzések: 49 Csatlakozás dátuma: 2013.01.21. Legújabb bejegyzések
Hi Cristiano,
Did you find a solution for that issue. I'm facing the same situation for a couple days and don't know how to figure it out.
Thanks in advance
Did you find a solution for that issue. I'm facing the same situation for a couple days and don't know how to figure it out.
Thanks in advance
mohammad azaruddin, módosítva 10 év-val korábban
RE: Error importing LAR
Expert Bejegyzések: 492 Csatlakozás dátuma: 2012.09.17. Legújabb bejegyzések
Hi
I'm Unable to figure out exact solution for this
But LAR is version dependent.you cannot use LAR of liferay 6.1.0 in Liferay 6.1.1
I'm Unable to figure out exact solution for this
But LAR is version dependent.you cannot use LAR of liferay 6.1.0 in Liferay 6.1.1
Jacques Traore, módosítva 10 év-val korábban
RE: Error importing LAR
Junior Member Bejegyzések: 49 Csatlakozás dátuma: 2013.01.21. Legújabb bejegyzések
Thank you Mohammad.
I forgot to mention that I am using LR 6.1.1 GA in both import and export environment.
The case is: I've imported some contents in my locals (host + db) by axis via journalArticle.addArticle(...) and I did some changes manually. There is about 600 contents.
Now, I want to export these contents in a lar file and then import them in the test environment which has a same configuration as my local one.
But I can't import the lar file and I get a DuplicateArticleIdException. Don't know what happens...
Any help will be greatly appreciated.
Thanks in advance
I forgot to mention that I am using LR 6.1.1 GA in both import and export environment.
The case is: I've imported some contents in my locals (host + db) by axis via journalArticle.addArticle(...) and I did some changes manually. There is about 600 contents.
Now, I want to export these contents in a lar file and then import them in the test environment which has a same configuration as my local one.
But I can't import the lar file and I get a DuplicateArticleIdException. Don't know what happens...
Any help will be greatly appreciated.
Thanks in advance
mohammad azaruddin, módosítva 10 év-val korábban
RE: Error importing LAR
Expert Bejegyzések: 492 Csatlakozás dátuma: 2012.09.17. Legújabb bejegyzések
Hi
Create new database and import mysql dump to new database.and try importing LAR
Create new database and import mysql dump to new database.and try importing LAR
Jacques Traore, módosítva 10 év-val korábban
RE: Error importing LAR
Junior Member Bejegyzések: 49 Csatlakozás dátuma: 2013.01.21. Legújabb bejegyzések
Thank you Mohammad, that is working as expected.
It`s not look like a "consistent" solution but it works .
Note: I use Oracle as database.
Thks,
It`s not look like a "consistent" solution but it works .
Note: I use Oracle as database.
Thks,