-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Replace all evals by something like
function executeFunctionByName(functionName, context /*, args */) { var args = Array.prototype.slice.call(arguments, 2); var namespaces = functionName.split("."); var func = namespaces.pop(); for (var i = 0; i < namespaces.length; i++) { context = context[namespaces[i]]; } return context[func].apply(context, args); }
- Bloque
-
CMS-4430 Possibility to add a converter function in the property mapping of the search tool.
-
- Closed
-
- depends on
-
RUNTIME-895 Adding general JS functions to avoid using eval
-
- Closed
-
[CMS-4392] [JS Performances] remove all eval
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 4.2.0 [ 14425 ] | |
Fix Version/s | Original: 3.8.5 [ 14565 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: 3.8.5 [ 14565 ] | |
Fix Version/s | Original: 3.8.4 [ 14402 ] |
Fix Version/s | New: 3.8.4 [ 14402 ] | |
Fix Version/s | Original: 3.8.3 [ 14086 ] |
Fix Version/s | New: 3.8.3 [ 14086 ] | |
Fix Version/s | Original: 3.8.2 [ 13686 ] |
Fix Version/s | New: 3.8.2 [ 13686 ] | |
Fix Version/s | Original: 3.8.1 [ 13089 ] |
Fix Version/s | Original: 3.8 [ 12386 ] |
Fix Version/s | New: 3.8.1 [ 13089 ] |
Fix Version/s | New: 3.7 [ 12386 ] | |
Fix Version/s | Original: 3.6 [ 11785 ] |
The Ametys object give several methods for this optimisation
So in Runtime there is only one eval that stays...