Page 1 of 2

Uncaught Error: c15r: component not found

Posted: Wed Dec 23, 2015 11:34 am
by Bob Fludder

Hi. Everything was working fine (I think) about 4 hours ago and now I'm getting an error showing on the console saying "Uncaught Error: c15r: component not found". Any idea what this may be or how to find what's missing ? I'm using V3 of the libraries. Tried clearing the browser cache.


Uncaught Error: c15r: component not found

Posted: Wed Dec 23, 2015 1:38 pm
by Serhii Kulibaba

Hello Bob,

This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last.


Uncaught Error: c15r: component not found

Posted: Wed Dec 23, 2015 9:33 pm
by Bob Fludder

I'm doing a navigate to and then running a custom service on page show to populate the contents of the page. Is that the wrong way ? Just to add. I've tried it without the service running. Don't get the error but the page header and footer don't display.


Uncaught Error: c15r: component not found

Posted: Wed Dec 23, 2015 11:00 pm
by Bob Fludder

Well I think its fixed. I duplicated the page and changed the navigate to go to the duplicated one. Program worked so I then deleted the original page and renamed the one I duplicated. Program failed again with the "component not found" error. So I again duplicated the page, renamed it to get rid of the "clone_1" bit, changed the navigate to to point to the new one and deleted the old one. Program working... Must be something corrupt somewhere to do with the original page name. So long as the page is different it's fine. Go figure...


Uncaught Error: c15r: component not found

Posted: Sun Jun 19, 2016 12:53 am
by mansour

Dear Sergiy,
i am having exactly the same error. and you explained the issue perfectly.
you said:
"This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last."

and this is what happening in my case. while the service in process, the user will click on navigation. then this problem appear. "Uncaught Error: c15r: component not found"

you mentioned as a solution:
"Please be sure a navigation happens the last"

my question: how to make sure that the user will not click on navigation if the service is in process?


Uncaught Error: c15r: component not found

Posted: Mon Jun 20, 2016 8:00 pm
by mansour

emThis reply was created from a merged topic originally titled navigate to before service's success/complete./em

i referring to this post

https://getsatisfaction.com/apperyio/...

Sergiy was suggesting a solution and i am looking for clarification. i posting it in a new thread as i dont see any response on that thread

------------My question------------------------------

i am having exactly the same error. and you explained the issue perfectly.
you said:
"This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last."

and this is what happening in my case. while the service in process, the user will click on navigation. then this problem appear. "Uncaught Error: c15r: component not found"

you mentioned as a solution:
"Please be sure a navigation happens the last"

my question: how to make sure that the user will not click on navigation if the service is in process?


Uncaught Error: c15r: component not found

Posted: Tue Jun 21, 2016 12:03 pm
by Serhii Kulibaba

You are able to control order of these actions (service execution, navigation to another page, etc.) with Appery.io Visual Editor.

In you case, if user clicks on the "go to nex page" button and gets that error before previous service is complete - you can ignore that error, because it is related to the previous page which is not necessary for the current user


Uncaught Error: c15r: component not found

Posted: Tue Jun 21, 2016 3:17 pm
by mansour

Thanks Sergiy.
you said: " because it is related to the previous page which is not necessary for the current user"

it is true, but actually i am getting the error and when the user click back button, he come back to the page and since there was an error. it will give a empty page

i just thought of a solution which is to catch this error and refresh the page. what do you think?


Uncaught Error: c15r: component not found

Posted: Wed Jun 22, 2016 12:42 am
by mansour

Dear Sergiy
I could not catch the problem, why?

if you can see in this picture Image

i have put a simple script in error to show that the error is cached
.

even though, the error was not cached as this console log shows

Image

can you please explaining why the error is not catched?

Image


Uncaught Error: c15r: component not found

Posted: Wed Jun 22, 2016 6:36 am
by Serhii Kulibaba

This is not a server error, so that event ("error") is not fired. You don't need to refresh a page manually. Please use page show event instead of load event, in that case your service WhatSayService will run each time user opens the page