This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Config resolver group order of...

Config resolver group order of precedence

Config resolver group order of precedence

Saturday 27 September 2014 4:17:01 am - 2 replies

I have searched the forum and documentation and can't find the answer.

If using the config resolver and there is a site access that belong's to multiple groups, which group takes precedence?

For example:

    myapp.test_site_group.testparam: test_site_group
    myapp.ezdemo_frontend_group.testparam: ezdemo_frontend_group

             - eng
             - eng 

No matter what order I add the parameters or siteaccess groups the config resolver always returns the value for ezdemo_frontend_group.

How is this order determined?

Is ezdemo_frontend_group always chosen because ezdemobundle is registered first and adds ezdemo_frontend_group via PrependExtensionInterface?

Saturday 27 September 2014 4:39:37 pm

I have done some more investigating and removed the sites from DemoBundle.  It indeed looks like the ezdemo_frontend_group will always override any other group because it is loaded first due to the PrependExtention.

So the order is that the first group matched wins.

I'll ask the DemoBundle maintainer to add a way to disable the inclussion of the ezdemo_frontend_group site access group so we can override it with other groups.

Monday 29 September 2014 8:42:09 am

Hi Douglas

For the record, ConfigResolver order of precedence is documented here.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from