Skip to content

[P2] Chrome Application Template Configuration Invalid #128

@JoshuaAFerguson

Description

@JoshuaAFerguson

Severity: P2 - LOW (Non-blocking)
Component: Database / UI - My Applications
Page: /applications

Issue

Chrome application has invalid/missing template configuration. Attempting to launch shows error:

The application 'Chrome' does not have a valid template configuration
HTTP 400 error

Impact

  • Cannot launch Chrome application from UI
  • Other applications likely affected
  • User confusion

Root Cause

Database: Chrome application has null or invalid template_id. Application not linked to valid template.

Fix Required

-- Check current state:
SELECT id, name, template_id FROM applications WHERE name = 'Chrome';
SELECT id, name FROM templates WHERE name LIKE '%chrome%';

-- Fix template_id (example):
UPDATE applications
SET template_id = (SELECT id FROM templates WHERE name = 'chromium-browser' LIMIT 1)
WHERE name = 'Chrome';

Prevention

  • Add validation in admin UI when creating applications
  • Require template selection, don't allow null
  • Show warning if template_id is invalid

Testing

  • Chrome application launches successfully
  • All applications have valid template_id
  • Application creation validates template
  • Error message is clear if template missing

Effort: 30 minutes (database fix) + 2 hours (UI validation)
Priority: Can defer to v2.1
Source: .claude/reports/UI_BUG_FIXES_REQUIRED.md

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions