﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5627	"Invalid ""form for a connector"" error in new frontend"	crupp@…	Per Östlund	"Using this model:

{{{
model Connection_test

model Massholder

Modelica.Mechanics.MultiBody.Parts.Body[3] body(each m=1);

end Massholder;
  
  inner Modelica.Mechanics.MultiBody.World world;
  Massholder holder;
  Modelica.Mechanics.MultiBody.Forces.Spring spring(c = 1, s_unstretched = 1);
  Modelica.Mechanics.MultiBody.Parts.Fixed fixed(r = {1, 1, 1});
  
equation
 
  connect(fixed.frame_b, spring.frame_a);
  
  for i in 1:3 loop
    connect(spring.frame_b, holder.body[i].frame_a);
  end for;

end Connection_test;
}}}

I get the translation error:

{{{
[Connection_test: 19:5-19:52]: holder.body[i].frame_a is not a valid form for a connector, connectors must be either c1.c2...cn or m.c (where c is a connector and m is a non-connector).
}}}

This model works with the old frontend, but not the new. As far as I'm aware, everything is valid Modelica."	discussion	closed	critical	Future	New Instantiation	v1.14.0-dev-nightly	wontfix		
