f5devcentral / vscode-f5-flipper

Exploring Citrix/NetScaler configs
Apache License 2.0
8 stars 4 forks source link

Citrix to F5 AS3 conversion fails: TypeError: Cannot read properties of undefined (reading map) #41

Closed tjvreugdenhil closed 1 month ago

tjvreugdenhil commented 3 months ago

When trying to convert Citrix to F5 AS3 format, I get the following error: [2024-07-26T17:24:25.552Z] [ERROR]: --- unhandledRejection --- [TypeError: Cannot read properties of undefined (reading 'map')

Steps to reproduce the behavior: Load Citrix ns.conf file expand "Apps" section Next to a App on the right side, click { } to convert to JSON Error is produced and citrix config is not converted.

OS: Windows 11 Flipper v1.10.1

tjvreugdenhil commented 3 months ago

This error also happens when loading the Test NS config.

samualblair commented 3 months ago

@tjvreugdenhil, this looks to be a duplicate of the issue I filed Issue36.

While waiting for this to be addressed fully, you may be able to use my workaround, it's just a 2 line modification, Pull Request Here.

DumpySquare commented 1 month ago

this change will be in the pending v1.11.0 release