bella bruno
Posts: 0
Joined: Tue Mar 04, 2014 6:16 pm

the delete service on my to do app is not working, i have shared my app with you.

I have already re-done this app 3 different times because the delete service is not working. The delete service wants to delete when i am tested the app but it will not delete. Also it will delete from my database but not my app.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

the delete service on my to do app is not working, i have shared my app with you.

Hello! Sorry, not sure I understand "Also it will delete from my database but not my app" - record is deleted from DB, but data isn't updated in app? Do you invoke service or code which refreshes data on page?

bella bruno
Posts: 0
Joined: Tue Mar 04, 2014 6:16 pm

the delete service on my to do app is not working, i have shared my app with you.

yes i invoked the service. I followed all the instructions on the tutorial and my teacher has also checked it over and cannot seem to find the problem. When i am testing the app, and i am trying to delete it the loading image pops up as if it is trying to delete but doesn't actually delete. Also when i am testing it and trying to delete it, the action will not delete from my app. However afterwards i will go into my database and it will be deleted from my database.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

the delete service on my to do app is not working, i have shared my app with you.

Hello,

Please add before invocation of delete service following JS:

var taskId = $(this).find("[name=taskId]").text();
localStorage.setItem("taskId", taskId);

And on mapping of delete service instead of component "taskid" use variable "taskid" from localStorage.

Return to “Issues”