I have a Point (0) and a Polygon (1) layer, both of which are related to an Inspection (4) table. I have successfully published a survey form for my points, that includes a repeat for the inspections. When I try to publish the comparable form for my polygons, I get "Parent layer ID 0 not found for table Inspections".
I checked the debug log, and when checkRelationship is called from PublishServiceCheck.qml, I can confirm it is drawing from the wrong relationship class (Inspection2Point instead of Inspection2Poly). What I find interesting is that in the Feature serviceInfos output in the Debug log, just a few lines earlier, does see both relationships for my Inspection table.
Is there a way to force my repeat to look for the correct relationship class? Or is the only work around to separate my inspection table into two distinct tables?