NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 6 forks source link

File Upload For Activity Parameters / Procedural Goal Parameters Not Working #1549

Open Alexander-Da-Great opened 2 weeks ago

Alexander-Da-Great commented 2 weeks ago

Checked for duplicates

Yes - I've already checked

Is this a regression?

No - This is a new bug

Version

3.0.0

Describe the bug

If I have a parameter of type java.nio.file.Path; I see a UI element pop up to choose a file for upload. When I select a file I see a message saying that the "Scheduling Goal Plan Specification Uploaded Successfully". Then when I run this procedural goal which has the path type parameter and try to find the file I am getting an error that says the file was not found.

Break pointing into my code I print out the absolute path which was /usr/src/app/VGR1_24220_24336.SAF for this particular file. However, when I look at the filesystem for my local deployment these are the contents of this /app/ dir:

>ls
bin  lib  merlin_file_store
>pwd
/usr/src/app

It appears the file did not upload.

Reproduction

Pull the last commit of this pr, https://github.jpl.nasa.gov/multi-mission/voyager-aerie/pull/3. Message me if you need access as a JPL employee. And try to run the scheduling goal "IngestSAF" after building the goals with the following command: ./gradlew scheduling:buildAllSchedulingProcedureJars. Note: You are going to need a directory called /spice/ filled with spice kernel sets for this to work.

Images: Screenshot 2024-11-08 at 4 12 04 PM

Screenshot 2024-11-08 at 4 06 38 PM Screenshot 2024-11-08 at 4 12 18 PM

Logs

No response

System Info

Arc Browser, Mac running sonoma 14.7

Severity

Minor

AaronPlave commented 2 weeks ago

@skovati may have some thoughts on this.