Legacy Knowledge Base
Published Jul. 2, 2025

I cannot import a LAR file

Written By

Ahmed Abdin

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When I import a LAR file, it fails with a missing reference error.

Environment

  • Liferay DXP 7.0 +

Resolution

  • The fix for the issue is LPS-108453. It is fixed on DXP 7.0 fix pack de-91. DXP 7.1 fix pack 17, and DXP 7.2 fix pack DXP 5
  • The solution would be to disable the validation of missing references prior to the import, and this can be achieved by performing the following:
    1. Go to Control Panel --> Configuration --> System Settings -->Infrastructure (in DXP 7.0 Web Experience) --> Export/Import 
    2.  Find the option "Validate Missing References" and uncheck it.

Note: This option should be used carefully. If possible, only for the first import, to get around the circular dependencies.

Using this option can lead to inconsistencies, and you should always try to import without it first. If you see missing reference errors, you should take notes of these, before unchecking this option.

After the imports are done, all these contents should be checked manually, whether their references are correct, and fix them manually if they are not.
Unfortunately, there could be still more errors, even with this new configuration value.

Did this article resolve your issue ?

Legacy Knowledge Base