libreliodev / android

Android Customizable Reader - Librelio Digital Publishing Suite
www.librelio.com
226 stars 129 forks source link

When reload button clicked, Issues are not updated in the Magazine grid #278

Closed libreliodev closed 9 years ago

libreliodev commented 10 years ago

Reported by @Ageleswari

@intrications Can this be fixed?

The first image is: before i click on the reload button. The second image: after i click on the reload button Third image: after i close and reopen the app. PS: i did not include the image for after the reload done image because it is the same as the first image.

the issues are not being updated after the server is updated.

before_reload while_reloading after_reopen

intrications commented 10 years ago

@libreliodev @Ageleswari

The magazine name is blocked out so I assume this is for a custom build. As far as I know, this works for other builds so I would need more information about which server is being used.

Can you share any more information with me? Via private email?

libreliodev commented 10 years ago

@intrications Thanks for your quick answer.

I can confirm that the server used is the regular Librelio server.

@Ageleswari Did you change something in the Android code?

Ageleswari commented 10 years ago

hi, I'm pretty sure i did not change anything in the code. not in android especially. @intrications, sure. i'll email you soon.

intrications commented 10 years ago

@Ageleswari Thanks for emailing me more details.

I think part of the problem may be that you appear to be trying to remove an issue from sale. I have only been aware in the past of updates that add new magazines.

If you remove an issue, then what happens to users who have already purchased it? Currently they would lose access to it.

@libreliodev Would you ever be removing an issue from sale?

@Ageleswari Alternatively, maybe you are just deactivating the issue to test the updates. In which case, does it update when refreshing if you activate an issue?

Ageleswari commented 10 years ago

@intrications, Yes, i tried to activate the same issue and refresh the magazine grid, its the same.

On Fri, Nov 7, 2014 at 3:33 PM, Michael Basil notifications@github.com wrote:

@Ageleswari https://github.com/Ageleswari Thanks for emailing me more details.

I think part of the problem may be that you appear to be trying to remove an issue from sale. I have only been aware in the past of updates that add new magazines.

If you remove an issue, then what happens to users who have already purchased it? Currently they would lose access to it.

@libreliodev https://github.com/libreliodev Would you ever be removing an issue from sale?

@Ageleswari https://github.com/Ageleswari Alternatively, maybe you are just deactivating the issue to test the updates. In which case, does it update when refreshing if you activate an issue?

— Reply to this email directly or view it on GitHub https://github.com/libreliodev/android/issues/278#issuecomment-62108354.

Regards, Ageleswari Marimuthu

libreliodev commented 10 years ago

@Ageleswari Thanks for pointing this issue and your answers

@intrications Thanks for your quick reaction.

Would you ever be removing an issue from sale?

Yes, we would. In this case, the users who purchased this issue previously should still be able to read it from the "downloads" tab, but the issue should no longer appear in the magazines grid. That's the way it works on iOS and Windows 8.

intrications commented 10 years ago

@libreliodev I think currently the magazine would remain in the downloads tab, as required. I will try to set up my own version of the server to check that and see if I can reproduce this issue.

intrications commented 10 years ago

I can't reproduce this. Can you @libreliodev ?

It would be good to check the server is sending the updated plist file. I'm sure this can be done by viewing its URL in a browser. However, since the list appears to update if you close and reopen the app, I don't think that is the problem.

intrications commented 10 years ago

I have followed the path of the code as it updates the plist and I think I may see where the problem may be. I don't understand why it usually works but I will try a fix.

intrications commented 9 years ago

@Ageleswari Please can you try the latest code to see if you still have the same problem.

Ageleswari commented 9 years ago

i was trying to import the latest code to my project since last week. that is why it has taken this long to reply you. now its working fine except that the project crashed on the first page (i've sent the crash report to your mailing address). i am using eclipse for the project (because i cant import the project to android studio).

Ageleswari commented 9 years ago

Found out the problem and solved. thank you so much. it's working good now.

libreliodev commented 9 years ago

OK, thanks @Ageleswari and @intrications