RE: Not able to import Private Pages of Site using lar file

Ronak Parekh, modified 6 Years ago. Junior Member Posts: 76 Join Date: 4/6/15 Recent Posts
Hello,I am not able to import private pages of site using lar file. I am getting below error while importing:
The file Pages_Only-20190817225931063.lar cannot be imported.Invalid manifest.xml: com.liferay.portal.kernel.xml.DocumentException: Error on line 69 of document : Character reference "&#18" is an invalid XML character. Nested exception: Character reference "&#18" is an invalid XML character.
How can I identify what is wrong with control characters used in process?
I am using liferay-dxp-7.2.10-ga1.  Please suggest if any one have resolved this kind of issue.

Regards,
Ronak Parekh
thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hi Ronak,You could always crack open the lar files (they're just zips after all) and have a look for yourself. Sadly, most of the time, when an export/import fails, that is where I find myself -- digging through these files try to figure out what to "tweak" to make it work. In your case though, since you are a DXP license holder, I would open a LESA and get some support from Liferay. You might have found a bug in which case they would normally issue a patch for you which would get rolled into the next FP/SP/Release.
thumbnail
Jorge Díaz, modified 6 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
Hi Ronak,

About:
Ronak Parekh:
Hello,I am not able to import private pages of site using lar file. I am getting below error while importing:
The file Pages_Only-20190817225931063.lar cannot be imported.Invalid manifest.xml: com.liferay.portal.kernel.xml.DocumentException: Error on line 69 of document : Character reference "&#18" is an invalid XML character. Nested exception: Character reference "&#18" is an invalid XML character.


Open LAR file (As Andrew said, it is just a zip file), go to manifest.xml file and paste its content here, for example lines from 60 to 80.

Regards,
Jorge