Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

Child pages do not update with newly added services on Template

I think this is a bug. I have the following scenario.

1) Template is created
2) Page1 is created based on Template
3) I add a logout service to Template
4) Logout service DOES NOT appear on Page1...and therefore doesn't work

How can I resolve this?

Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

Child pages do not update with newly added services on Template

I don't think you understood me correctly. I understand and I know that I cannot edit the data services on child pages of a template.

However, the logout service does not work. Again, please see my flow of events

pre
1) Page template created
2) Child page based on template created
3) Logout service added to the template menu (and mapped correctly)
4) Logout button (in menu) does NOT work on child page...no logout service is invoked. That's my problem.

/pre
So if I add a service to the template after I have already created a page - then that service does not work on the page.

Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

Child pages do not update with newly added services on Template

I would appreciate some feedback on this as I think it is a bug...

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Child pages do not update with newly added services on Template

Hi Deki,

I've tested this scenario and it works.

So please make sure:

  1. You did not edit template in sources.

  2. You did not edit page in sources.

  3. You have correct mapping(for data source on template page).

  4. You added event on "login" buton(that's actually within template) that invokes logout service datasource from the templage.

  5. Open browser debugger on "net" tab and take a look on the new request when you click on "logout" button. May be there is some error returns from service that could help you to understand the problem.

    Regards.

Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

Child pages do not update with newly added services on Template

Hi Yurii,

I have done all these checks and I do not get any network related information at all when clicking on the button. It looks like the service is not being invoked at all. However, it works fine for a page that I've created after the service was added. But it does not work for pages previously created before creating the service. So to sum it up, if you create a service in a template, you can invoke that service in any child pages created after. However, if you create a child page and go back to the template to create a service- then that service will not work in the child page.

Is there a workaround to this?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Child pages do not update with newly added services on Template

Hi Deki,

Unfortunatly or fortunatly i can not reproduce this problem in my test app.

Please try following:

  1. create new page.

  2. create new template from this page.

  3. create child page from this templage.(2nd step).

  4. add service to template.
    4.1 Add button to template.
    4.2. On button click - invoke service (4 step).

    Open child page and click on button. Service should invoke.

    I've tried it several times and it works for me.

    Regards.

connor.b.lee
Posts: 0
Joined: Thu Apr 17, 2014 11:52 pm

Child pages do not update with newly added services on Template

I am having the same issue.

I had a template that was updating the services, but now it stopped. The first child screen I created a few days ago, works as intended, but any new child screen based off the same template will not invoke the services from the template

connor.b.lee
Posts: 0
Joined: Thu Apr 17, 2014 11:52 pm

Child pages do not update with newly added services on Template

And just to add to my previous comment.......

I just created a new template (after I broke apart my old one and recreated how I invoked the service). I created a new child screen, and then added another service to template. Everything worked fine with the new child page.

I think there was a bug in there. Luckily I am in early stages of my template and only had 2 child pages so easy to redo based off the new template, but I hope this doesn't happen again.

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

Child pages do not update with newly added services on Template

Hello!

Thank you for update!

Please let us know if it happens again, would be great if there are any steps to reproduce.

Return to “Issues”