Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › EntityManager – better error handling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18347

    Marcin

    Hi Felgo,
    have some suggestions for EntityManager error reporting.
    Is it possible to improve error messages in situations:

    1. When I forget about entityContainer property?
    If property entityContaienr is not set then I get no error message about it.
    Instead, on entity creation when using dynamicCreationEntityList with valid entries, you will get invalid error message.
    Basically the error message is about missing entity from dynamic creation list where the error is missing property.

    2. Using dynamicCreationEntityList with invalid urls.
    When using Qt.resolvedUrl version, not component instance, with dynamicCreationEntityList there is no error when the url path is invalid.
    Is there a way this can be improved?

    I hope I am right with the missing error messages, could you confirm?

    #18377

    Alex
    Felgo Team

    Hi Marcin,

    thank you for the suggestions, good points.

    Could you create a minimum example project where those errors should occur and send it to support@felgo.com? This will help us to have a look at the additions faster. Thank you very much

    Cheers,
    Alex

    #18391

    Marcin

    Hi Alex,
    Email sent.

    I double checked and was wrong in one situation.
    If you put invalid url in EntityManager.dynamicCreationEntityList you get good error message, just was at the top:

    ERROR: failed to create sprite from url: file:///home/marcin/.local/share/Felgo Live Client/qml/Pldayer.qml , component.status: 3 , errorString: file:///home/marcin/.local/share/Felgo Live Client/qml/Pldayer.qml:-1 No such file or directory 

    So the only thing is better error message if you forget about setting entityContainer on EntityManager.
    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded