linaGirl / ee-soa-transport-rest

restful transport implementation for ee-soa
0 stars 0 forks source link

[URGENT] server crashes #14

Open fabianjordi opened 10 years ago

fabianjordi commented 10 years ago

{$ crossPromo.crossPromotionLocale|getLocaleContent('title', 'de') $} makes the server crash with the following message:

Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (http.js:691:11)
    at Object.<anonymous> (/Users/fabianjordi/Desktop/Eventbooster/Tenants/Cornèrcard Emotions - World of Entertainment/Web/Code/eb-soa/node_modules/ee-soa-transport-rest/node_modules/ee-webservice/node_modules/ee-webserver/lib/Response.js:121:24)
    at Gzip.onEnd (zlib.js:166:5)
    at Gzip.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickDomainCallback (node.js:459:13)

browser responds with TypeError: Cannot read property 'code' of undefined