Editors.SelectionVariables in version 137

Hello,



It used to be possible to name variables obtained from the UI via the "type=Editors.SelectionVariables" annotation anything you wanted.


Now, the variable MUST be called "Variable". Not only does this break prior code segments, but it also prohibits multiple variables collected from the UI. 


This used to work:

    @Parameter()
    @Help("Choose variable to which you want to assign some value")
    @Editor(type=Editors.SelectionVariables)
    public Variable Variable1;



Now, it must look like this:

    @Parameter()
    @Help("Choose variable to which you want to assign some value")
    @Editor(type=Editors.SelectionVariables)
    public Variable Variable;



When you do deviate from naming the Variable, "Variable", it still compiles, but the UI presents a funky interface with two selection boxes, and the first box is empty:






SQX seems to ignore the variable you set in the 2nd box (the one you want), rendering the feature useless.


I've attached a snippet that produces the above Custom Action.


Thank you,


Ryan

Attachments
image-0.png
(15.22 KiB)
MyAssignTwoVariables.java
(1.80 KiB)
  • Votes +1
  • Project AlgoWizard
  • Type Bug
  • Status New
  • Priority Normal

History

RH
#1

rhartstein

18.10.2023 13:31

Task created

E
#2

Emmanuel

18.10.2023 18:42
Voted for this task.
E
#3

Emmanuel

20.10.2023 19:09
this make me think about another bug :


https://roadmap.strategyquant.com/tasks/algw_000776




RH
#4

rhartstein

20.10.2023 19:37
Looks to me like they are indeed related bugs

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please