Skip to content

fix(services): service start cmd changes not being saved #317

Description

@c-bizarro

A bug was identified in the OS dashboard when attempting to update an existing service. While most modifications are successfully persisted, changes made specifically to the start command field are not being saved.

An initial workaround was attempted by ensuring all service fields were fully populated (to rule out validation issues with empty values), but the behavior persists, and an error indicating missing/empty data is still triggered.

The issue has been verified on the latest releases:

  • v0.2.7
  • v0.2.8
  • v0.2.9

Console logs:

cdn.min.js:1 Alpine Expression Error: Cannot read properties of null (reading 'length')

Expression: "updateService()"

 <button id="update-installed-service-button" type="submit" @click="updateService()" class="bg-infinite-500 hover:bg-infinite-300 rounded-md border-none text-center font-bold lowercase text-white w-full p-3 text-base leading-none">…</button> 
re @ cdn.min.js:1
(anonymous) @ cdn.min.js:5
Promise.catch
(anonymous) @ cdn.min.js:5
or @ cdn.min.js:1
(anonymous) @ cdn.min.js:5
o @ cdn.min.js:5
(anonymous) @ cdn.min.js:5
(anonymous) @ cdn.min.js:5

cdn.min.js:5 Uncaught TypeError: Cannot read properties of null (reading 'length')
    at Proxy.updateService (overview/:3:19826)
    at [Alpine] updateService(overview/) (eval at <anonymous> (https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js:5:665), <anonymous>:3:32)
    at cdn.min.js:5:1068
    at or (cdn.min.js:1:4957)
    at cdn.min.js:5:39121
    at o (cdn.min.js:5:28011)
    at cdn.min.js:5:29010
    at HTMLButtonElement.<anonymous> (cdn.min.js:5:28033)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    approved

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions