Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Dmitry Brin
Error importing LAR
29 giugno 2010 23.21
Risposta

Dmitry Brin

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 29 giugno 2010

Messaggi recenti

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.

 1...
 22010-06-29 17:19:03,500 WARN  [JournalPortletDataHandlerImpl:945] An article with the ID 199839 already exists. The new generated ID is 213321
 32010-06-29 17:19:03,527 WARN  [ImagePersistenceImpl:285] No Image exists with the primary key 213332
 42010-06-29 17:19:03,529 WARN  [ImageLocalServiceImpl:200] Unable to get image 213332: No Image exists with the primary key 213332
 52010-06-29 17:19:03,532 WARN  [ImagePersistenceImpl:143] No Image exists with the primary key 213332
 62010-06-29 17:19:03,585 WARN  [JournalPortletDataHandlerImpl:945] An article with the ID 199847 already exists. The new generated ID is 213329
 72010-06-29 17:19:03,617 ERROR [ImportPagesAction:84] com.liferay.portal.SystemException: com.liferay.portal.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
 8com.liferay.portal.SystemException: com.liferay.portal.lar.PortletDataException: com.liferay.portlet.journal.DuplicateArticleIdException
 9        at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:468)
10        at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:368)
11        at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:644)
12        at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:612)
13...


Thanks very much,
D
p.s. 5.2 SP3
Cristiano Carretti
RE: Error importing LAR
12 gennaio 2012 5.40
Risposta

Cristiano Carretti

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 25 novembre 2011

Messaggi recenti

I have the same problem on Liferay 6.1 GA1 emoticon
Somebody can i help me?
Jacques Traore
RE: Error importing LAR
7 maggio 2013 13.27
Risposta

Jacques Traore

Punteggio: Junior Member

Messaggi: 46

Data di Iscrizione: 21 gennaio 2013

Messaggi recenti

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. emoticonemoticonemoticonemoticon

Thanks in advance
Mohammad Azharuddin
RE: Error importing LAR
7 maggio 2013 22.36
Risposta

Mohammad Azharuddin

Punteggio: Expert

Messaggi: 458

Data di Iscrizione: 17 settembre 2012

Messaggi recenti

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
Jacques Traore
RE: Error importing LAR
8 maggio 2013 5.45
Risposta

Jacques Traore

Punteggio: Junior Member

Messaggi: 46

Data di Iscrizione: 21 gennaio 2013

Messaggi recenti

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
Mohammad Azharuddin
RE: Error importing LAR
8 maggio 2013 22.33
Risposta

Mohammad Azharuddin

Punteggio: Expert

Messaggi: 458

Data di Iscrizione: 17 settembre 2012

Messaggi recenti

Hi
Create new database and import mysql dump to new database.and try importing LAR
Jacques Traore
RE: Error importing LAR
9 maggio 2013 10.19
Risposta

Jacques Traore

Punteggio: Junior Member

Messaggi: 46

Data di Iscrizione: 21 gennaio 2013

Messaggi recenti

Thank you Mohammad, that is working as expected.
It`s not look like a "consistent" solution but it works emoticon.

Note: I use Oracle as database.

Thks,