Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31801

Add message to LocaleException thrown during LAR import

    Details

      Description

      LayoutExported.doImportLayouts() throws LocaleException around line 380, when LAR specifies some Locale, that the target Group cannot handle. The is no message in the expcetion, so then when this happens and exception is logged somewhere using standard:

      } catch(Exception ex) {
      _logger.error(ex)
      }

      you have no clue from the log which Locale is missing and how you can fix that. Adding some user-friendly message like "Locale X is defined in imported LAR and portal Y does not support this locale" would help a lot.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              josef.sustacek Josef Šustáček
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 6 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.0 CE M5