Jump to content

[SOLVED] Field Data not updating after changes


Vineet Sawant
 Share

Recommended Posts

Hello All,

I'm working on a website of online ticket booking system.

There's a field called as show_start_time linked to show page.

It's then connected to drama & theatre pages via page fields which use show page for displaying show details such as theatre name, show's time etc.

But when I update the the show's start time, it doesn't update the data being displayed on the drama and theatre page.

For example,

There 3 pages:

  1. Drama
  2. Theatre
  3. Show

Drama page has several fields including a page field called "drama_shows". It uses the Shows page as pagelist to select a show from the list.

Same goes for Theatre page where "theatre_shows" field uses shows page as pagelist for displaying shows available in the theatre.

Show page has a datetime field called as "show_start_time" & it has two page fields called as "show_drama" & "show_theatre" using dramas list page and theatres list page respectively.

Now when I update a morning show connected to Show #1 playing Theatre ABC, it updates the start time on shows page but not on other pages.

Can anyone tell me what's the problem?

Thanks everyone in advance.

P.S.

The updated start time is visible on show page.

Edited by vineonardo
Link to comment
Share on other sites

Now when I update a morning show connected to Show #1 playing Theatre ABC, it updates the start time on shows page but not on other pages.

Can anyone tell me what's the problem?

Can't tell a problem without understanding exactly what you're doing on "other pages". If you reference a page it will always have the actual data from that page, unless you have a cache on these pages.

Link to comment
Share on other sites

Hello All,

Thanks for your replies.

I fixed the bug, it was causing due to wrong a mistake in code logic, I've fixed it now.

Will write in detail what mistake I was doing and how I fixed it so that everyone can know.

For now, the topic has been solved.

Thanks again to all of you for your time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...