-
Notifications
You must be signed in to change notification settings - Fork 124
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
how to globally set custom bc_num_hours item #4132
Comments
I'll have to look into it. I'm not 100% sure how the code would react to both |
i just checked this again, and suddenly the label is correctly displayed, so this was probably a browser caching issue. i'll close the ticket. |
Thanks for the update! |
I'm guessing from discourse post that this persists? |
it's now a different issue, i've updated the first comment to clarify |
Thanks. I think this is an additional feature to combine these 2.
At a cursory glance, not easily. The factory determines which class to build and all the logic for global stuff is in the global attribute class, not the bc_num_hours class. So it's not clear off hand how to solve this. |
i'm testing the global form item documented at https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/form.html#global-batch-connect-form-items
i've set the following items in global_bc_items.yml:
for
num_cores
everything works as intended after replacing everynum_cores
string withglobal_num_cores
.however, for the built-in
bc_num_hours
item, i cannot replace the strings because they are of course built in. prefixing withglobal_
seems to have the effect that it is no longer a built-in item, and thus the customizations are ignored.how can this be fixed?
The text was updated successfully, but these errors were encountered: