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

Virtual host settings lost during upgrade to 6.2 with Oracle database

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      9
    • Fix Priority:
      5
    • Where was the bug?:
      Java

      Description

      When upgrading form 6.0.11 to 6.1.20 the virtual host setting were not migrated.

      1) company virtual host was stored in "Company" table in "virtualhost" field
      2) site's/organization's virtual host was stored in "LayoutSet" table in "virtualhost" field

      In 6.1.20 virtual hosts are stored in the VIRTUALHOST table, but neither of the above settings were migrated to the new place.

      After upgrade when accessing the Portal Settings portlet in the ControlPanel, the attached exception is thrown. The company virtual host field is required but it cannot be found.

      Reproduction steps:

      1) start a 6.0.11 portal with oracle
      2) set virtual host
      3) upgrade to 6.1.20
      4) Go to Control Panel -> Portal Instances -> click on the virtual host:
      jodd.bean.BeanException: Simple property not found: hostname Invalid property: 'CompanyImpl#hostname' (actual:'CompanyImpl#hostname', forced=false)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 51 weeks, 4 days ago