Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-builder
gnome-builder
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 497
    • Issues 497
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-buildergnome-builder
  • Issues
  • #263

Closed
Open
Opened Aug 04, 2017 by bugzilla-migration@bugzilla-migrationReporter

New project flatpak JSON contains invalid JSON after changing Configure Options

Submitted by Link Dupont @subpop

Link to original bug (#785831)

Description

STEPS TO REPRODUCE

  1. Create new GNOME project
  2. Select 'Build Preferences' (Alt-,)
  3. Add --enable-debug to 'Configure Options'

EXPECTED RESULTS The '--enable-debug' option to be added to the flatpak JSON file.

ACTUAL RESULTS The JSON file ends up with some invalid unicode characters. This diff:

diff --git a/org.gnome.TestJson.json b/org.gnome.TestJson.json index c38fd29..641ef30 100644 --- a/org.gnome.TestJson.json +++ b/org.gnome.TestJson.json @@ -46,7 +46,8 @@ "type": "git", "url": "file:///home/link/Projects/test-json" }

  •        ]
  •    }

+<C0>``<94>,

  •        "config-opts": ["--enable-debug"],
    ]
  •    }

}

NOTES Typing into the Configure Options text field is also extremely laggy. It feels as if some heavy validation is being run on each character entry into the field.

gnome-builder-3.24.2-2.fc26.x86_64

Assignee
Assign to
GNOME 3.28
Milestone
GNOME 3.28 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-builder#263