b-b-a / bba-power

1 stars 0 forks source link

Edits and new records not displaying #244

Open paulmallett opened 9 years ago

paulmallett commented 9 years ago

We have a bug: Any new data being created does not appear on screen.

For example, adding a ‘usage’ figure for meter ID=10. Entering the information gives a response of “Record id 16702 has been successfully added/updated into the usage table.” However, the record does not appear in the table, and even if you refresh by pressing F5, it does not appear. Only by logging out and in does the new data appear.

I also saw this when I was editing the ‘users’ properties.

shaunfreeman commented 9 years ago

I just updated my local test to 4.1.0 and confirm this error. but it was working fine before I pulled changes from github.

It was working fine foe me before I synced my local branch with the changes Eddie pushed.

So something must have gone wrong between when I pushed changes to when Eddie did. I will roll back my local branch to before Eddie's push and see if things go back.

Will report my findings.

shaunfreeman commented 9 years ago

Nope it goes back to the me.

The bug isn't in 4.0.6 so was introduced when I merged the branches.

It must of been in the master branch. So I will look into what the differences are

shaunfreeman commented 9 years ago

it's a cache bug some where. For some reason the cache isn't being cleared when records are updated.

I have turned cache off for now until I find it.

Will leave this open until fixed too. Please pull this workaround.