Acknowledged
over 1 year ago

bug: manifest editor caches/remembers previously closed manifest file

Garmin, please fix the multiple issues related to manifests. For example take into account the project.manifest from monkey.jungle! I (as probably most devs) have 2 manifest files, one for prod and one for beta. I have both of them in monkey.jungle, and I comment in/out the relevant line:

# project.manifest = manifest-prod.xml # prod
project.manifest = manifest.xml # beta
This works when building, but the manifest editor goes crazy:

A. it can only edit (I mean the "nice" way, not text editor) manifest.xml. Any other name => only opens as a simple xml file (text mode). At least it should take into account what's the project.manifest setting!

B. and this is an even bigger problem: it doesn't even show the actual content of the file!!!! To reproduce:

1. create 2 manifest files with different uuids: "manifest-beta.xml" and "manifest-prod.xml", note down which uuid belongs to which file. In the next steps I'll refer to these two files.

2. rename "manifest-beta.xml" to manifest.xml (to be able to edit it with the buggy editor)

3. open manifest.xml ("manifest-beta.xml") in the editor, add/remove a few devices to be able to differentiate between the 2 files, save.

now, because there's no "nice" way to edit the other manifest file ("manifest-prod.xml"):

4. close manisfest.xml tab

5. rename back manifest.xml to "manifest-beta.xml"

6. rename "manifest-prod.xml" to manifest.xml

7. open manifest.xml ("manifest-prod.xml") in the editor

Check the uuid and the enabled devices. You should see the the "other" (originally "manifest.prod.xml") uuid, and the respective devices. Instead it still displays the previously closed "original" manifest.xml ("manifest-beta.xml").

I believe that the way to reproduce it might differ slightly depending whether you had manifest.xml previously opened in the VSC, but you get the idea.

Parents
  • Currently you would have to right click and use the "Open With.." context menu and select Manifest Editor as it doesn't automatically recognize anything besides the file name "manifest.xml". I'll pass this along to development to see if there is a solution to having it check the name given in the monkey.jungle.

Comment
  • Currently you would have to right click and use the "Open With.." context menu and select Manifest Editor as it doesn't automatically recognize anything besides the file name "manifest.xml". I'll pass this along to development to see if there is a solution to having it check the name given in the monkey.jungle.

Children
No Data