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
Using a score expression without any layer variables does not assign any scores to the resulting layer.
According to the tip on the help page section for the feature, "if you wanted a new layer where all techniques are scored 50, you could simply type 50 into the score expression input." This does not work in practice: writing a score expression as a constant (e.g 50) or an expression using only constants (e.g 25 + 25) yields a layer with no assigned scores.
Steps to reproduce
Open the "Creating layers from other layers" interface on a new tab.
Write an expression using only constants for the score expression, e.g 50 or 25+25.
The expected output should be that constant, or the result of the expression evaluated, for every technique.
Instead no techniques have scores in the output layer.
What doesn't work
Using a score expression without any layer variables does not assign any scores to the resulting layer.
According to the tip on the help page section for the feature, "if you wanted a new layer where all techniques are scored 50, you could simply type 50 into the score expression input." This does not work in practice: writing a score expression as a constant (e.g 50) or an expression using only constants (e.g 25 + 25) yields a layer with no assigned scores.
Steps to reproduce
How to fix
The code for this feature is located in the layerLayerOperation method of viewmodels.service.
Presumably score expressions without variables can be found using regex or some other sort of check, and this edge case handled accordingly. There is already code to catch this edge case however it is apparently no longer working.
The text was updated successfully, but these errors were encountered: