Skip to content

Commit 40f3bc1

Browse files
committed
Update deployed test app
1 parent c79b919 commit 40f3bc1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/_env/app/todo/webapp/controller/ObjectPageController.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sap.ui.define(
88
onInit: function () {
99
this.base.onInit();
1010
socket.attachMessage("message", (event) => {
11-
const object = this.base.getExtensionAPI().getBindingContext().getObject();
11+
const object = this.base.getExtensionAPI().getBindingContext()?.getObject();
1212
const message = JSON.parse(event.getParameter("data"));
1313
if (message.event === "refresh") {
1414
if (object?.ID === message?.data?.ID && object?.IsActiveEntity) {

test/_env/manifest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ applications:
33
- name: ws-test-app
44
path: approuter
55
memory: 1G
6+
default-route: true
67
health-check-type: process
78
routes:
89
- route: ws-test.cfapps.sap.hana.ondemand.com
910
env:
11+
COOKIE_BACKWARD_COMPATIBILITY: true
1012
destinations: >
1113
[
1214
{
@@ -21,6 +23,7 @@ applications:
2123
- name: ws-test-srv
2224
path: backend
2325
memory: 1G
26+
default-route: true
2427
health-check-type: process
2528
routes:
2629
- route: ws-test-srv.cfapps.sap.hana.ondemand.com

0 commit comments

Comments
 (0)