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

[Bug Report] Blank project page when networks are listed as keys #646

Open
RafGamer opened this issue Jan 9, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@RafGamer
Copy link

RafGamer commented Jan 9, 2024

Describe the bug
The project details page of a project is blank and the browser console throws a bunch of errors if the compose file has keys under networks instead of an array.

To Reproduce
Steps to reproduce the behavior:

  1. Add a project with a compose file that lists the networks as keys.
  2. Blank project details page and a bunch of errors in browser console.

Expected behavior
The project details page is shown correctly.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Yacht Version: v0.0.7-alpha-2023-01-12--05

Additional context
Seems like the parsing doesnt work correctly and the page is blank.

Example:

This compose file is shown without problems:

version: "3.8"

services:
  test:
    image: test/test
    container_name: test
    networks:
      - test
    restart: unless-stopped

This not:

version: "3.8"

services:
  test:
    image: test/test
    container_name: test
    networks:
      test:
    restart: unless-stopped
@RafGamer RafGamer added the bug Something isn't working label Jan 9, 2024
@djripcord
Copy link

Seems this could be related to issue #642.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants