Skip to content

Incorrectly selects Perf profile #1

@rgaudin

Description

@rgaudin

Didn't get to the bottom of it yet but UI incorrectly shows Perf selected while it should be coverage. An exec shell inside the container shows WifiFormData.ctx_defaults() has coverage which is the source for the template.

              <select name="profile" class="form-select" >
                <option value="perf" selected="selected">Performance</option>
                <option value="coverage" >Coverage</option>
              </select>
/src # /src/.venv/bin/python
>>> from adminui.setup import prepare_context
...
... prepare_context()
...
INFO: HTTP Request: GET http://host/service-is-enabled/ssh "HTTP/1.1 200 OK"
>>> from adminui.wifi import WifiFormData
>>> WifiFormData.ctx_defaults()
WifiFormData(profile='coverage', ssid='Kiwix Hotspot', open=True, passphrase='')
>>>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions