convertigo / c8osdk-angular-caf

CAF brings to Angular / Ionic 2+ the same functionalities that CTF (Convertigo Templating Framework) brings to JQuery. The goal is to add Convertigo back end support directly in to the Ionic HTML templates without having to program complex TypeScript.
http://www.convertigo.com
Apache License 2.0
2 stars 1 forks source link

c8oPage.getAttachmentUrl fails with 'Uncaught in promise' when document has no attachment #8

Closed nathalie-lammelin closed 6 years ago

nathalie-lammelin commented 6 years ago

app.html <img class="class1519897558234" width="" [src]="getAttachmentUrl('2c561297753eada96e1db07bf2002224', 'avatars0.png', 'http://www.clipartx.com/uploads/outline/toronto-skyline-144638', 'aaaa1.aaaa1_fullsync')" height=""/>

Runtime Error Uncaught (in promise): {"status":404,"name":"not_found","message":"missing"}

-> Maybe add a catch statement to this.c8o.get_attachment

nathalie-lammelin commented 6 years ago

Has been fixed in c8osdk-angular 2.1.64