cancel
Showing results for 
Search instead for 
Did you mean: 

Multitenancy Extend needs restart of app

htammen
Active Contributor

Hi,

I ran the extend example described in philip.mugglestone 's video on Youtube. Everything's working fine but when I activate the extensions I can't see/use them as long as I didn't restart the app at the server.

After the activation I see the extensions in the $metadata but when run

https://<mytenant>-dev-app.cfapps.<region>.hana.ondemand.com/catalog//Z_Custom
I get a 404 error
'Z_Custom' is not an entity set, a singleton, an action import, or a function import

I also don't see the custom fields `Z_custom1` and `Z_custom2` in the Sales entity set.

After restarting the app with `cf restart app-srv` everything works as expected.

Any ideas?
Helmut

Accepted Solutions (1)

Accepted Solutions (1)

pmugglestone
Product and Topic Expert
Product and Topic Expert

Hi helmut.tammen2,

@sap/cds@5.9.8 has just been released and should fix the problem.

See changelog.

Thanks,

Philip

Answers (1)

Answers (1)

pmugglestone
Product and Topic Expert
Product and Topic Expert

Hi helmut.tammen2,

Thanks for raising this.

I have been able to reproduce the issue on my side and have raised it with the CAP team.

Thanks,

Philip

SAP HANA Academy

htammen
Active Contributor
0 Kudos

Thank you Philip. Hope they'll fix it soon 🙂