{"action":"created","issue":{"url":"https://api.github.com/repos/kriswallsmith/assetic/issues/721","labels_url":"https://api.github.com/repos/kriswallsmith/assetic/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/kriswallsmith/assetic/issues/721/comments","events_url":"https://api.github.com/repos/kriswallsmith/assetic/issues/721/events","html_url":"https://github.com/kriswallsmith/assetic/pull/721","id":59826264,"number":721,"title":"Workers weren't applied to asset leaves when LazyAssetManager was used (LessFilter not applied)","user":{"login":"alex-pex","id":368155,"avatar_url":"https://avatars.githubusercontent.com/u/368155?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-pex","html_url":"https://github.com/alex-pex","followers_url":"https://api.github.com/users/alex-pex/followers","following_url":"https://api.github.com/users/alex-pex/following{/other_user}","gists_url":"https://api.github.com/users/alex-pex/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-pex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-pex/subscriptions","organizations_url":"https://api.github.com/users/alex-pex/orgs","repos_url":"https://api.github.com/users/alex-pex/repos","events_url":"https://api.github.com/users/alex-pex/events{/privacy}","received_events_url":"https://api.github.com/users/alex-pex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T16:53:53Z","updated_at":"2015-03-04T17:23:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kriswallsmith/assetic/pulls/721","html_url":"https://github.com/kriswallsmith/assetic/pull/721","diff_url":"https://github.com/kriswallsmith/assetic/pull/721.diff","patch_url":"https://github.com/kriswallsmith/assetic/pull/721.patch"},"body":"Everything is in the title !\r\n\r\nI don't know how to write the tests. I discovered the bug using symfony/assetic-bundle and I don't know how to trigger the bug outside of the bundle. I wrote this kind of config : \r\n\r\n```yaml\r\nassetic:\r\n    assets:\r\n        app_main_css:\r\n            inputs:\r\n                - %kernel.root_dir%/../web/bundles/appcore/css/main.less\r\n                - %kernel.root_dir%/../web/bundles/appcore/css/popup.less\r\n            output: css/app-main.css\r\n```\r\n\r\nWhen I use use_controller option, assetic generates an asset url like this : ```/app_dev.php/css/4a8dd08_part_1.css```\r\n\r\nLessFilter should be applied to .less files as I have set the option. app-main.css is not concerned, but its leaves should be. It is the purpose of applyWorker method to apply worker recursively, but this method is broken because retval is not returned by the EnsureFilterWorker, and the test in applyWorker is too strict.\r\n\r\nI fixed these problems and it's working fine."},"comment":{"url":"https://api.github.com/repos/kriswallsmith/assetic/issues/comments/77202924","html_url":"https://github.com/kriswallsmith/assetic/pull/721#issuecomment-77202924","issue_url":"https://api.github.com/repos/kriswallsmith/assetic/issues/721","id":77202924,"user":{"login":"isometriks","id":1325995,"avatar_url":"https://avatars.githubusercontent.com/u/1325995?v=3","gravatar_id":"","url":"https://api.github.com/users/isometriks","html_url":"https://github.com/isometriks","followers_url":"https://api.github.com/users/isometriks/followers","following_url":"https://api.github.com/users/isometriks/following{/other_user}","gists_url":"https://api.github.com/users/isometriks/gists{/gist_id}","starred_url":"https://api.github.com/users/isometriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isometriks/subscriptions","organizations_url":"https://api.github.com/users/isometriks/orgs","repos_url":"https://api.github.com/users/isometriks/repos","events_url":"https://api.github.com/users/isometriks/events{/privacy}","received_events_url":"https://api.github.com/users/isometriks/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T17:23:53Z","updated_at":"2015-03-04T17:23:53Z","body":"This fixes this other issue for me too: https://github.com/kriswallsmith/assetic/issues/688#issuecomment-69402956"}}