Skip to content
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

Unable to change HTTP Node Security #2143

Closed
hardillb opened this issue May 15, 2023 · 2 comments · Fixed by FlowFuse/forge-ui-components#140
Closed

Unable to change HTTP Node Security #2143

hardillb opened this issue May 15, 2023 · 2 comments · Fixed by FlowFuse/forge-ui-components#140
Labels
area:frontend For any issues that require work in the frontend/UI bug Something isn't working

Comments

@hardillb
Copy link
Contributor

Current Behavior

When trying to HTTP Node security to Basic or FlowForge user the radio button boxes are disabled.

Screenshot from 2023-05-15 13-28-29

There is a matching error in the browser console:

[Vue warn]: Invalid prop: type check failed for prop "modelValue". Expected Boolean, got Undefined  
  at <FfCheckbox id="formRow-instance-3" ref="input" type="checkbox"  ... > 
  at <FormRow modelValue=undefined onUpdate:modelValue=fn type="checkbox"  ... > 
  at <TemplateSettingsEditor modelValue= {name: '', settings: {…}, policy: {…}, changed: {…}, errors: {…}} onUpdate:modelValue=fn editTemplate=false > 
  at <InstanceSettingsEditor project= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} instance= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} onInstanceUpdated=fn  ... > 
  at <RouterView project= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} instance= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} onInstanceUpdated=fn  ... > 
  at <InstanceSettings instance= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} is-visiting-admin=false onInstanceUpdated=fn<bound loadInstance>  ... > 
  at <RouterView instance= {deviceSettings: {…}, id: '3a77c352-9827-472a-8904-8ee4bc3076f6', name: 'brainy-greenshank-5886', safeName: 'brainy-greenshank-5886', url: 'http://localhost:12080', …} is-visiting-admin=false onInstanceUpdated=fn<bound loadInstance>  ... > 
  at <InstancePage onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {md: ƒ, hasPermission: ƒ, instanceUpdated: ƒ, loadInstance: ƒ, instanceChanged: ƒ, …} > > 
  at <RouterView> 
  at <FfLayoutPlatform key=0 > 
  at <App>
w

Expected Behavior

Being able to set Authentication type

Steps To Reproduce

Start an instance with default stack/template
Go to settings -> security

Try and change to HTTP Basic Auth

Environment

  • FlowForge version: 1.7
  • Node.js version: 16.x
  • npm version: 8.x
  • Platform/OS: All
  • Browser: Chrome

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

@hardillb hardillb added bug Something isn't working area:frontend For any issues that require work in the frontend/UI labels May 15, 2023
@joepavitt
Copy link
Contributor

unable to reproduce this locally, suggests there is also a configuration problem on FF Cloud too.

@hardillb
Copy link
Contributor Author

I'm getting the same on Staging and this settings is unlocked in all the templates on staging and prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend For any issues that require work in the frontend/UI bug Something isn't working
Projects
Archived in project
2 participants