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

DemoBundle settings hardcoded to specific siteaccess names/group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.3, 2014.07, 5.4.0-beta1
    • Fix Version/s: 2014.11, 5.4.0-rc1
    • Component/s: DemoBundle
    • Labels:
      None

      Description

      Hi there. If you do a fresh install of last ez community version and you select spanish as main a only language involved twig templates for articles, blog posts and others are not loaded at all.

      Site still works because legacy takes care of showing them.

      But this also affects login template. In the described situation, after finish the install, going to the frontend site and clicking one of the buy buttons you are redirected to "/login" but in my case i'm presented a non styled at all screen. you can see it in the attached picture.

      I think this is because how ezdemo_frontend_group is added to the ezdemo.yml file of the demoBundle. There you can see this:

      https://github.com/ezsystems/DemoBundle/blob/master/Resources/config/ezdemo.yml#L3

      As all "override" templates are defined for this group, if you are in a siteacces like "esl" (created by the install proccess), those setting are not taking in account and so, twig templates are not loaded at all.

      Don't know if this is the inteded behaviour. To me, that setting should be somehow connected to the options you have choosen in the install process.

      Adding my "esl" to that group all works as expected, so, in case this can't be fixed, should be warned somewhere.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              desorden Carlos Revillo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: