You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a funny one and is hard to replicate as it normally happens only the fist time i launch the app from a plugin URL first thing in the morning.
Seems that the templates are cleared out and the call to NcjTemplateService.getApplication fails with the error: "Cannot read property 'filter' of undefined". Seems to point to this:
getApplication(applicationId) {
return this.get("index.json").map((apps) => {
const data = **apps.filter**(app => app.id === applicationId).first();
return data && new models_1.Application(Object.assign({}, data, { icon: this.getApplicationIcon(data.id), readme: this.getApplicationReadme(data.id) }));
}).share();
}
apps must return null and the call to filter fails.
Might be that there is a period of time between when the templates get cleared and refreshed where there are no templates for this query to call on.
The text was updated successfully, but these errors were encountered:
This is a funny one and is hard to replicate as it normally happens only the fist time i launch the app from a plugin URL first thing in the morning.
Seems that the templates are cleared out and the call to NcjTemplateService.getApplication fails with the error: "Cannot read property 'filter' of undefined". Seems to point to this:
apps must return null and the call to filter fails.
Might be that there is a period of time between when the templates get cleared and refreshed where there are no templates for this query to call on.
The text was updated successfully, but these errors were encountered: