Ref: #1515 #1516
When attempting to update a custom function via the new feature recently added (see references above), this is the returned erorr: "Error: Update Controller: Could not load FUNCTION_INFORMATION dictionary from the existing controller module"
This is due to custom functions being side-loaded (manually uploaded to the custom_functions folder), rather than through the UI, and having a filename different from the unique name. This update system needs to account for side-loaded modules that can have any fimename. A good approach would be to include the filename for each module in the return data from parse_function_information(). Then the original filename can be preserved when replacing the file.
Ref: #1515 #1516
When attempting to update a custom function via the new feature recently added (see references above), this is the returned erorr: "Error: Update Controller: Could not load FUNCTION_INFORMATION dictionary from the existing controller module"
This is due to custom functions being side-loaded (manually uploaded to the custom_functions folder), rather than through the UI, and having a filename different from the unique name. This update system needs to account for side-loaded modules that can have any fimename. A good approach would be to include the filename for each module in the return data from parse_function_information(). Then the original filename can be preserved when replacing the file.