[IGN-8568] Unable to open project "Cannot add child to parent"

After loading resources from Ignition exchange to parent projects. All inheritance project unable to open from designer. Only project which not part of that parent project opened. Below is the error. Any guidance

IllegalArgumentException: com.inductiveautomation.ignition.common.project.resource.ResourceNamingException: Cannot add child 'com.inductiveautomation.perspective/style-classes/exchange/alarm-configurator' to parent 'com.inductiveautomation.perspective/style-classes/Exchange'
caused by ResourceNamingException: Cannot add child 'com.inductiveautomation.perspective/style-classes/exchange/alarm-configurator' to parent 'com.inductiveautomation.perspective/style-classes/Exchange'

I'm going to guess that's a case-sensitivity issue.

1 Like

i am unable to get access to the project now to check or change it .. any idea!!

You will likely need to access the gateway filesystem directly.

Your child project contains a resource with a differently-cased name at the same level as a resource of the parent project. You need to go into the parent project and rename the resource, then go into the child project and rename THAT resource, then you can rename the parent back to what it was.

3 Likes

i did same and working fine .. My main question is i uploaded the resources to my parent project . Without any errors and even when i need to open the parent project i got the errors in parent project and also child project .

i changed the name from filesystem

I'd be interested to see the error as it was in the parent project, as it should have no insight into the child resources.

I am running into this same error, how does one access the gateway filesystem?

The file system belongs to the operating system - not the Gateway. References to file system mean opening up File Explorer, or Finder, or whatever tool/system your operating system uses to provide direct access to files. This is all moot though as you should be able to open a Designer to the parent project and resolve the issue by renaming the parent project resource, then renaming the child project resource, then renaming the parent project resource back to its original value.

1 Like

The interesting part is that there is no parent project. I see the file path in the error - "Cannot add child 'ignition/script-python/BHEC/Network/Ping' to parent 'ignition/script-python/BHEC/network'"

Is it really just a matter of changing the case on the "n" in network?

Yes.