Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
4.5.5, 4.6.1
-
None
-
None
-
Yes
Description
Steps
- Install Ibexa
- Create a JavaScript file in assets which includes the line Translator.trans(foo, {}, foo)
- run command php bin/console translation:extract --dir=assets --output-dir=translations
Expected result
Command runs completely
Actual result
Execution aborts with exception:
Could not extract id, expected string literal but got MemberExpression (in /var/www/html/…). In JavaScriptFileVisitor.php line 163: Attempted to call an undefined method named "getValue" of class "Peast\Syntax\Node\MemberExpression".