-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS App v1.0.0 "Measures" tab does not properly render Reporting Measure Arguments #108
Comments
Seems to be related to this code change here. (Thanks Phylroy!) When I changed |
I did this for the ViewModel and ViewData measures, I suggest changing all the reporting measures to:
That way you support 0-1 arguments |
Thanks @macumber that seems like nice approach. |
Note, while testing this I confirmed that bool arguments always show as true. There is an existing open issue for that. That issue isn't limited to reporting measures |
I can't figure out why, hard to diff XML from BCL vs. GitHub repo, but while arguments show for GitHub copy when brought in through MyMeasures directory, the BCL copy (made from GitHub copy) doesn't work. No idea why at this point. Screenshots are below. I threw away my BCL directory and made a fresh OSM for this test. For reference test and BCL upload are from this branch ,not develop. |
:( Well this at least explains an error on UH about failed reporting measure with no Output in OSW. Here is bug filed for the Measure, that I can only reproduce with BCL copy of measure, not GitHub repo copy |
Related PR where I made the change to allow accepting |
@macumber's fix worked for me on this measure... |
Not sure what else to do there... |
I think this can be closed |
Issue overview
OS App v1.0.0 "Measures" tab does not render Reporting Measure Arguments
Current Behavior
While a Reporting measure can be added to a .osm model using the "Measures" tab, NONE of the measure arguments are rendered in the OS App UI.
This means OS Reporting measures, if executed as part of a simulation, will only successfully execute if all 'required' arguments have defaults set to user-desired values.
Otherwise, there is no way (in the OS App GUI) to change the argument value.
Expected Behavior
The measure, when applied to the model via the drag and drop feature, should render the arguments in the GUI such that an OS App user can select from them.
Steps to Reproduce
Possible Solution
.osm files opened or created in OS Application v2.9.1 does not exhibit this behavior.
.osm files created in OS Application v2.9.1 then opened in OS Application v1.0.0 do exhibit this behavior.
Environment
OS Application v1.0.0, build # 4f5416c, running on Windows 10 OS
Context
This bug significantly minimizes overall OS App usability by making OS Reporting measures only usable via direct CLI based workflows.
The text was updated successfully, but these errors were encountered: