Open blasisd opened 5 years ago
Hmmm, you've got me there. I don't understand why that error is occurring.
I do not see any obvious error in your metadata. Have you used the URL to extract data, such as /northwind/Employee to see what is returned?
Did WebIDE show you a list of tables from which you could select, or does the error occur before that?
I must admit I am now using OData.V4 rather than OData.V2 as OpenUI5 and the WebIDE have improved their support for V4. V4 is also a much better protocol. I also continue to use OpenUI5 with V4. Perhaps I should redo really rapid RDF using V4.
Sorry I have no instant answer.
Peter J. Lawrence inova8 Providing answers for users' information questions Mobile: +44 7546 095977 | +1 330 631 3772 | Phone: +44 1298 872375 | Skype: PeterJLawrence Email: peter.lawrence@inova8.com | Web: www.inova8.com LinkedIn: http://www.linkedin.com/in/peterjohnlawrence http://www.linkedin.com/in/peterjohnlawrence
On Fri, 25 Jan 2019 at 12:46, blasisd notifications@github.com wrote:
Hi, thanks for the great work you have done. The other day I was watching a video of yours, concerning "Really Rapid RDF Graph Application Development" (i.e. https://www.youtube.com/watch?v=QFhcsS8Bx-U).
I have taken all the necessary steps you are suggesting for creating a "Project From Template" through the WebIDE Personal Edition wizard, but in the last step (pressing finish button), I have come across an error, as you might be able to see in the attached file, informing me that "oMetaData.dataServices.schema[0].entityType is undefined" .
[image: screenshot from 2019-01-25 12-43-33] https://user-images.githubusercontent.com/47029434/51745239-e8932f80-20aa-11e9-9351-f4f0c45094df.png
I suspect that this might have something to do with the metadata generated for my model(s). It seems like the system expects to find an "EntityType" as the first element in the schema, whereas it finds an "EntityContainer", if I am not mistaken (?).
NW_metadata.txt https://github.com/peterjohnlawrence/com.inova8.odata2sparql.v2/files/2796103/NW_metadata.txt
Is there something that you could possibly suggest that I should change in the configuration files of odata2sparql or try in order to fix this kind of error?
Thank you in advance Vlasis
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/peterjohnlawrence/com.inova8.odata2sparql.v2/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiasK92Z9W2w1kvR_J9rW8UBUIMUvakks5vGvy3gaJpZM4aS0S8 .
Thank you for your reply.
I have used the URL to extract data (such as /northwind/Employee), and it seems to be working fine.
WebIDE showed me a list of tables, from which I could select, the problem occurred after that, after pressing the finish button.
I preferred to use v2 of odata2sparql, because I saw that odata2sparql.v4 is still in progress, and I usually follow the stable versions (I am not that brave sometimes), but since you suggest v4 I will be shifting to it. Redoing a really rapid RDF using V4 would be really great.
Thanks once again for your help and your advice. Vlasis
<< odata2sparql.v4 is still in progress >> The standard is now very stable, but not all vendors have updated to fully support it. However support for V2 by vendors (such as OpenUI5) is static so I am taking the risk for the next stage. Plus V4 clears up a lot of anomalies.
I think I have seen this error before in OpenUI5. In the metadata the schemas are all named, but this query seems to be asking for the zeroth schema rather than a named schema.
I searched "dataServices.schema[0]" and found this code as part of a OpenUI5 template:
https://github.com/SAP/com.sap.openSAP.hana5.templates/blob/master/ex4/ex4_13
If you look at line 41 it looks by index. Your metadata requires it to use schema[1] (better still find a particular schema by name). Maybe you could edit the templates and replace with [1] just for this.
I hope this helps
Peter J. Lawrence inova8 Providing answers for users' information questions Mobile: +44 7546 095977 | +1 330 631 3772 | Phone: +44 1298 872375 | Skype: PeterJLawrence Email: peter.lawrence@inova8.com | Web: www.inova8.com LinkedIn: http://www.linkedin.com/in/peterjohnlawrence http://www.linkedin.com/in/peterjohnlawrence
On Fri, 25 Jan 2019 at 14:48, blasisd notifications@github.com wrote:
Thank you for your reply.
I have used the URL to extract data (such as /northwind/Employee), and it seems to be working fine.
WebIDE showed me a list of tables, from which I could select, the problem occurred after that, after pressing the finish button.
I preferred to use v2 of odata2sparql, because I saw that odata2sparql.v4 is still in progress, and I usually follow the stable versions (I am not that brave sometimes), but since you suggest v4 I will be shifting to it. Redoing a really rapid RDF using V4 would be really great.
Thanks once again for your help and your advice. Vlasis
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/peterjohnlawrence/com.inova8.odata2sparql.v2/issues/39#issuecomment-457595945, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiasGEQS6JpXp79fOzcidQk37G5pOpPks5vGxlOgaJpZM4aS0S8 .
Hi, thanks for the great work you have done. The other day I was watching a video of yours, concerning "Really Rapid RDF Graph Application Development" (i.e. https://www.youtube.com/watch?v=QFhcsS8Bx-U).
I have taken all the necessary steps you are suggesting for creating a "Project From Template" through the WebIDE Personal Edition wizard, but in the last step (pressing finish button), I have come across an error, as you might be able to see in the attached file, informing me that : "oMetaData.dataServices.schema[0].entityType is undefined" .
I suspect that this might have something to do with the metadata generated for my model(s). It seems like the system expects to find an "EntityType" as the first element in the schema, whereas it finds an "EntityContainer", if I am not mistaken (?).
NW_metadata.txt
Is there something that you could possibly suggest that I should change in the configuration files of odata2sparql or try in order to fix this kind of error?
Thank you in advance Vlasis