-
Notifications
You must be signed in to change notification settings - Fork 20
Models imported with a URL do not get loaded #106
Comments
Just found this one as well. We need to call: https://github.com/hyperledger/composer-concerto/blob/master/lib/modelmanager.js#L310 Ideally we would only call this if the list of external imports had changed for the model file: As it is quite costly (downloads external imports and then validates all model files). |
I also found that most model imports do not work properly. I needed to copy the contents of the URL into the model. |
Could you be more specific and provide an example, please? |
Okay, already 3 people posted examples for this long time error in #152, #177, and this one. Here is a forth example for a model.cto file: It reports: The URL is valid, since one can download the address.cto. |
I'm trying to understand if your report is a new issue, or an existing one. This is the same issue as previously recorded, correct? |
@norweis Just FYI: development / maintenance of template studio has been on hold for a while. For more active development we recommend the VSCode plugin which is more robust. |
When updating a model file with a new import with a
from URL
the model manager does not load the model.E.g.,
Starting from the hello world template, and adding this line:
Does not provide access too the address type.
The text was updated successfully, but these errors were encountered: