{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/3381","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/3381/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/3381/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/3381/events","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/3381","id":40133694,"number":3381,"title":"FIX: Class names referenced in Config should be case-insensitive","user":{"login":"sminnee","id":59968,"avatar_url":"https://avatars.githubusercontent.com/u/59968?v=3","gravatar_id":"","url":"https://api.github.com/users/sminnee","html_url":"https://github.com/sminnee","followers_url":"https://api.github.com/users/sminnee/followers","following_url":"https://api.github.com/users/sminnee/following{/other_user}","gists_url":"https://api.github.com/users/sminnee/gists{/gist_id}","starred_url":"https://api.github.com/users/sminnee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sminnee/subscriptions","organizations_url":"https://api.github.com/users/sminnee/orgs","repos_url":"https://api.github.com/users/sminnee/repos","events_url":"https://api.github.com/users/sminnee/events{/privacy}","received_events_url":"https://api.github.com/users/sminnee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-08-13T08:37:46Z","updated_at":"2015-07-30T23:16:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/pulls/3381","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/3381","diff_url":"https://github.com/silverstripe/silverstripe-framework/pull/3381.diff","patch_url":"https://github.com/silverstripe/silverstripe-framework/pull/3381.patch"},"body":"The config system maps top-level key name to a PHP class. PHP classes are case-insensitive,\r\nbut without this patch, the Config system was case-sensitive on this variable. I think this\r\nshould be considered a bug.\r\n\r\nThe following patch makes the \"class\" key case-insensitive, but leave the \"name\" key, as\r\ncase-sensitive, mirroring the semantics of PHP classes and static variables, respectively.\r\n\r\nArguably, the entire config system could be case-insensitive, but I haven't done that in\r\nthis patch."},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/126517464","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/3381#issuecomment-126517464","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/3381","id":126517464,"user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T23:16:05Z","updated_at":"2015-07-30T23:16:05Z","body":"I think this is a patch and should stay in 3.1 myself. Under what circumstances could this cause a problem to existing code?"}}