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

Start in Cloud Foundry fails with "key properties are not propagated" error #44

Open
gregorwolf opened this issue Feb 19, 2020 · 2 comments

Comments

@gregorwolf
Copy link
Contributor

I've tried a deployment of the application to SAP CP - Cloud Foundry. But currently the srv fails to start and throws this errors:

[cds] - connect to datasource - hana:gen/csn.json
cds compile failed due to these errors...

 at gen/csn.json:9: Error: Entity "localized.AdminService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:9: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.AdminService.CoOrganizers"/query:1)
 at gen/csn.json:114: Error: Entity "localized.AdminService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:114: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.AdminService.Devices"/query:1)
 at gen/csn.json:2577: Error: Entity "localized.ParticipantService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:2577: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ParticipantService.CoOrganizers"/query:1)
 at gen/csn.json:2683: Error: Entity "localized.ParticipantService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:2683: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ParticipantService.Devices"/query:1)
 at gen/csn.json:3817: Error: Entity "localized.PublicService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:3817: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.PublicService.CoOrganizers"/query:1)
 at gen/csn.json:3923: Error: Entity "localized.PublicService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:3923: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.PublicService.Devices"/query:1)
 at gen/csn.json:4960: Error: Entity "localized.ReceptionistService.CoOrganizers" does not have a key: ODATA entities must have a key
 at gen/csn.json:4960: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ReceptionistService.CoOrganizers"/query:1)
 at gen/csn.json:5066: Error: Entity "localized.ReceptionistService.Devices" does not have a key: ODATA entities must have a key
 at gen/csn.json:5066: Info: Key "events" has not been projected - key properties are not propagated (in entity:"localized.ReceptionistService.Devices"/query:1)
 at gen/csn.json:7393: Info: Input CSN contains localization view definitions which are re-calculated

As the entities CoOrganizers and Devices are not localized it is especially strange.

@gregorwolf
Copy link
Contributor Author

@balbinosoares
Copy link
Contributor

I received the same error. I believe it has to do with the type of key used in these entities. This entities had composite keys.

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

No branches or pull requests

2 participants