Results 1 to 4 of 4

Thread: Creating test project deletes all comments from app.json

    This duplicates another bug already reported in our system: ORION-426
  1. #1
    Sencha Premium User
    Join Date
    Aug 2014
    Location
    Auckland
    Posts
    46

    Default Creating test project deletes all comments from app.json

    Not a showstopper, but annoying.

    Happens when I click 'Initialize test project'. Doesn't matter which folder I do this in. I have a multi app workspace.

  2. #2
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,748

    Default

    Hi Glen,

    Thanks for the report. It is pretty tricky to intelligently edit commented JSON but I opened a ticket to track it. Also thanks for checking out the Sencha Test Beta!
    Don Griffin

    "Use the source, Luke!"

  3. #3
    Sencha Premium User AussieFlem's Avatar
    Join Date
    Jan 2012
    Location
    Melbourne, Australia
    Posts
    35

    Default

    Hi Don.I've found this too. Given the complexity of the app.json (and the quite useful comments added when you generate a project) it's a shame to have this automatically stripped out when you try to link Sencha Test to the project.Also makes me wonder what else it's opting to change without me asking it to.

  4. #4
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,748

    Default

    Sencha Test adds only a small bit to the app.json file but this comes from the JSON.parse/stringify sequence used to do so. Since the file is still line-oriented you can see all that changed in the source control diff - a bunch of removals and a couple insertions.
    Don Griffin

    "Use the source, Luke!"

Similar Threads

  1. Replies: 4
    Last Post: 26 Jan 2016, 3:13 AM
  2. Missing Json/Bootstrap files when creating a new project
    By aaron.tsang in forum Sencha Architect 3.x: Q&A
    Replies: 1
    Last Post: 5 Oct 2015, 7:48 AM
  3. Comments in app.json
    By MikeRH in forum Ext 5: Q&A
    Replies: 12
    Last Post: 15 May 2014, 9:46 AM
  4. A couple of noob questions: Creating a comments section etc
    By thebeloved in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 30 Apr 2012, 6:19 AM
  5. mySQL to JSON phpscript...comments welcome
    By sintax.era in forum Community Discussion
    Replies: 2
    Last Post: 28 Jan 2008, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •