vorto icon indicating copy to clipboard operation
vorto copied to clipboard

Choosing Functionblocks from the UI on model creation is broken

Open kolotu opened this issue 4 years ago • 3 comments

The list of functionblocks is always empty.

Screenshot 2020-11-19 at 08 37 22

kolotu avatar Nov 19 '20 07:11 kolotu

The search query for functionblocks in that wizard step is: state:Released namespace:org.eclipse.vorto type:Functionblock. After running the query manually (save for the state parameter), it seems a lot of those models have been deprecated. The lastModifiedBy field shows your Bosch user (likely as the deprecator?) @kolotu . Likely, this is just about fine-tuning the search expression in modelCreationService.js. Note that you can have multiple namespaces, wildcards, etc. etc. in the expression, in case they have been somehow moved in different places.

ghost avatar Nov 19 '20 15:11 ghost

@mena-bosch good point - the query should be state:Released namespace:org.eclipse.vorto* type:Functionblock - the asterisk is required, since we use subnamespaces now.

kolotu avatar Nov 19 '20 15:11 kolotu

@mena-bosch good point - the query should be state:Released namespace:org.eclipse.vorto* type:Functionblock - the asterisk is required, since we use subnamespaces now.

Sounds like an easy one then ;)

ghost avatar Nov 19 '20 15:11 ghost