You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@g-rodigy I could try this solution thanks, it should work, now the register() and registerMany() methods throw an exception if the class does not exist, instead with registerCustomized(), it supports virtual namespaces.
What steps will reproduce the problem?
In view files when load asset with wrong namespace.
It happening here
loadBundle() ---> AssetUtil::createAsset()
https://github.com/yiisoft/assets/blob/4.0.0/src/AssetLoader.php#L102
https://github.com/yiisoft/assets/blob/4.0.0/src/AssetUtil.php#L44
What is the expected result?
Expected throw exception
What do you get instead?
Got empty instance of
AssetBundle
Additional info
The text was updated successfully, but these errors were encountered: