Label configuration in Global Batch Connect Form Items ignored?

Hello,

I’ve configured the a few Global Batch Connect Form Items and use it in all the apps. it works well. The only issue I have is that it ignores the label that I’ve configured for the global item.

global_bc_form_items:
  global_resource:
    widget: select
    label: "Select Compute Resource"
    options:
      - [ 'Regular Instances', disabled: true ]
      - [ 'Regular Small - 2 Cores, 24GB', 'R-S', data-set-global-cores: '2', data-set-global-memory: '24GB', data-set-global-gres: '' ]

When the form is rendered the label for the select is Global Resource and not Select Compute Resource as I expect.

Is this a bug?

Could be! I’ve created this ticket upstream to investigate: global batch connect item does not respond to label · Issue #4259 · OSC/ondemand · GitHub

Hey I’m just now circling back to this. I can’t replicate, I’m able to re-lable these. Maybe it was an issue of caching? These are loaded once on boot, so if you edited the file after you booted your per user nginx (PUN) then it wouldn’t pick up the new configurations.

Hey Jeff, You are correct. It is working as expected. I probably didn’t restart the PUN after my changes.

1 Like