Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-9903

Admin: site preview didn't work if the siteaccess is located in an extension

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 3.8.6, 3.9.0
    • None
    • Operating System:
      PHP Version:4.4.4
      Database and version: 5
      Browser (and version): firefox, opera, ie

    Description

      In a ez installation where all projectsettings are stored in an extension, the site preview in another sitedesign doesn't work. The normal view is ok.

      I tested it in uri and host mode and ez 3.8.6 and 3.9.0, but the same result. The wrong templates are displayed e.g. pagelayout.tpl the maincontent seems to be displayed right.

      example url:
      http://admin.test.local/content/versionview/1/4/ger-DE
      http://admin.test.local/content/versionview/1/4/ger-DE/site_access/test_site (fullview)

      See screenshot
      It think ez get not the right information to find the settings to display the right templates.

      prjecectExtensionExample e.g.

      + extension/
      ++ mySite /
      +++ design/
      ++++ mydesign
      +++ settings/
      ++++ siteaccess/
      +++++ mySiteaccess
      ...

      Steps to reproduce

      1. install a ez demosite e.g. forum_site
      2. create a new extension e.g. ext_forum
      3. copy forum_design => extenstion/ext_forum/design/forum_design
      4. copy settings/siteaccess/forum_site and forum_site_admin => extenstion/ext_forum/settings/siteaccess/forum_site and forum_site_admin
      5. create extenstion/ext_forum/settings/design.ini.append.php

      [ExtensionSettings]
      DesignExtensions[]=ext_forum

      6. activate the extension ext_forum in global site.ini so the ez will find the siteaccesses from the extension

      7. open forum_site_admin and edit an article ... preview in siteaccess forum_site

      Attachments

        Activity

          People

            unknown unknown
            4d91e976-d41f-487b-ae85-f7216bd06dac@accounts.ibexa.co Felix Woldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: