Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading function block with correct import is rejected #852

Closed
geglock opened this issue Feb 19, 2018 · 1 comment
Closed

Uploading function block with correct import is rejected #852

geglock opened this issue Feb 19, 2018 · 1 comment

Comments

@geglock
Copy link

geglock commented Feb 19, 2018

I tried to upload a new function block model to the Vorto Repository. The model is rejected even so it looks correct and is validated correctly in an Eclipse workspace with Vorto.

The upload is rejected with the error:
The following property (properties) [multiple Accessory] has not been imported (not in the "using" statement).

The referenced data type was uploaded before:
http://vorto.eclipse.org/#/details/com.acme.catalog/Accessory/2.0.0?s=com.acme

The not accepted function block model looks like this:

namespace com.acme.catalog
version 2.0.0
displayname "Accessories"
description "Function block model for Accessories"
category example
using com.acme.catalog.Accessory; 2.0.0

functionblock Accessories {

	configuration{ 
	}

	status{ 
	}

	fault{
	}

	operations{
		retrieveSupportedAccessories() returns multiple Accessory
	}
}	
@aedelmann
Copy link
Contributor

Hi @geglock
That was indeed a bug in our validators. Fix is now available on vorto.eclipse.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants