[BUG IGN-2712] 8.1.7 No errors reported when importing tags with invalid config

When trying to import tags by pasting tag json into the tag browser, no errors are shown if some tags don’t import, for example if their names are invalid, UDT instance definitions don’t exist, etc.

The gateway wrapper shows the errors, but who would check those if no Designer errors are reported? The only reason I found this bug is because I noticed by accident that there was an empty folder created with no tags in it. I had question marks in the tag names as I forgot these tags had issues in my spreadsheet.

This is what’s shown in the wrapper, but the Designer has nothing - no error popup, no console errors, nothing

INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Alarms/Both Pump 1 & 2 Running': Error_Configuration("The name 'Both Pump 1 & 2 Running' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pumps/Flow Switch/Setpoints/High High Level??': Error_Configuration("The name 'High High Level??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pumps/Flow Switch/Setpoints/High Level??': Error_Configuration("The name 'High Level??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pumps/Flow Switch/Setpoints/No Level??': Error_Configuration("The name 'No Level??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pumps/Flow Switch/Setpoints/Start Level??': Error_Configuration("The name 'Start Level??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pumps/Flow Switch/Setpoints/Stop Level??': Error_Configuration("The name 'Stop Level??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pump 1/Running in Manual??': Error_Configuration("The name 'Running in Manual??' is not a valid tag name") 
INFO   | jvm 1    | 2021/06/27 13:22:29 | E [t.m.provider                  ] [03:52:29]: Error processing edit for tag path '[default]Test/New Folder/Pump 2/Running in Manual??': Error_Configuration("The name 'Running in Manual??' is not a valid tag name") 

I think errors are shown if you import a single tag, but as soon as you import more, you’re on your own.

Update:
A single error for the last error is reported when importing UDT definitions with invalid tags (I added ?? into the tag name of a few tags).
Importing just the definition’s tags as standard tags however shows no errors.