Skip to content

Commit

Permalink
Fix EZP-23725: Wrong path_identification_string when editing in front…
Browse files Browse the repository at this point in the history
…end siteaccess using PathPrefix and RootNode

> https://jira.ez.no/browse/EZP-23725

Alternative of ezsystems/ezpublish-legacy#1148,
ezsystems/ezpublish-legacy#1140 and
ezsystems/ezpublish-legacy#1145

Root cause of this issue is that `RootNode` is wrongly injected from
LegacyBundle when working in multisite, as it's has no purpose in that
regard.

Note that patch from
ezsystems/ezpublish-legacy#1140 needs to be
reverted (it will be once this PR is merged).

Tested and working as expected.
  • Loading branch information
lolautruche committed Mar 27, 2015
1 parent aa37dd6 commit 13e1a5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bundle/LegacyMapper/Configuration.php
Expand Up @@ -310,7 +310,6 @@ function ( $value )
'logfile.ini/AccessLogFileSettings/PathPrefix' => $pathPrefix,
'site.ini/SiteSettings/IndexPage' => $indexPage !== null ? $indexPage : "/content/view/full/$rootLocationId/",
'site.ini/SiteSettings/DefaultPage' => $defaultPage !== null ? $defaultPage : "/content/view/full/$rootLocationId/",
'content.ini/NodeSettings/RootNode' => $rootLocationId,
);
}
}

0 comments on commit 13e1a5d

Please sign in to comment.