Bug: Hiding/unhiding Personal Books

Note that my v8.4 has both Local (285) and Cloud resources (>1500), and I regarded v8.3 as my Full installation (no Cloud resources).

Some of this is probably known, but I just stumbled across it (Logos_PB1 log):

  1. I compiled a PB (PBB:9d94dd94d3174708a45a68a0ec9cae93) that had never been Uploaded, wasn't hidden and wasn't listed in Library.
    1. it was added with NO Notification, and Library did not update until it was manually filtered.
    2. Catalog shows it was Added @ 10:32:38
  2. It is Local, but can't be Removed via right-click menu in Library
  3. I hid another PB (PBB:de78698e84fa404fa9d30d9c2ea23064) @ 10:36:14, which had been Uploaded and was listed (it was Added on 13 March).
  4. After unhiding this resource (@11.28:56), I received a notification for the download, and then a notification that it had been updated i.e. Local resource. But Library was not updated (Total count + list) until I actioned a Filter. This is true for v8.3 as well.
    1. I presume it was treated as Local because it had been hidden recently.
  5. I hid PBB:9d94dd94d3174708a45a68a0ec9cae93 (@12:!8:47), which was reflected in v8.3.
    1. The resource file had not been deleted on both systems.
  6. Then I unhid this resource (@12:21:55)
    1. It was removed from  Hidden Resources in both v8.3 & 8.4 Beta 3
    2. It was restored to both 8.3/8.4, but Library did not update until I manually filtered it.
    3. There was no Notification
  7. I hid PBB:9d94dd94d3174708a45a68a0ec9cae93 (@14:12:23),
    1. The resource file had not been deleted on both systems.
  8. Restarted Logos on both systems (Logos_PB2 log)
  9. The resource had been deleted on both systems.
  10. I unhid the resource on v8.3
    1. nothing happened on v8.3 & v8.4 (showing it had never been Uploaded)
  11. I re-compiled the PB on v8.3
    1. it was added with NO Notification, and Library did not update until it was manually filtered.
    2. nothing happened on v8.4
  12. I manually deleted the PB in both system's \Resources folder and restarted both systems (Logos_PB3)
    1. It was removed from both Library and not downloaded (showing it had never been Uploaded)
  13. Automatically Download Updates = NO throughout.

Logos 8.4 Beta 3 logs:

3326.Logos_PB3.zip

Logos 8.3 logs:

3005.Logos_PB3.zip

The behaviour with Personal Books that differs from earlier versions, or that is not expected:-

  • When compiled or re-compiled, a PB is treated as Local, but there is no Notification and Library status did not change automatically (step 1 & 11).
  • Unless Uploaded, the PB cannot be Removed (step 2).
  • When hidden and almost immediately unhidden, a PB that is not Uploaded will be restored, but with no Notification and Library status did not change automatically (step 5 & 6)
    • this seems to be contingent on the resource file not being deleted, but it is unexpected behaviour.
  • When hidden and then unhidden after a restart, the same PB will not be restored (step 10, where resource file was deleted)
    • This is expected, as well as not being restored if the PB resource file is manually deleted (step 12)
  • An uploaded PB was hidden and restored as expected, but Library status did not change automatically (step 3 & 4)

Dave
===

Windows 11 & Android 13

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    I Remove'd... an uploaded PB to the Cloud (the one in Step 3 & 4 above). After I compiled the PB, it was immediately viewable and Library showed that it is now a Local resource. However, the right-click menu shows Download instead of Remove...!? And I hadn't Uploaded this new version.

    3823.Logos (3).zip

    Dave
    ===

    Windows 11 & Android 13

  • Wei Qiang
    Wei Qiang Member Posts: 308 ✭✭

    Note that my v8.4 has both Local (285) and Cloud resources (>1500), and I regarded v8.3 as my Full installation (no Cloud resources).

    Some of this is probably known, but I just stumbled across it (Logos_PB1 log):

    1. I compiled a PB (PBB:9d94dd94d3174708a45a68a0ec9cae93) that had never been Uploaded, wasn't hidden and wasn't listed in Library.
      1. it was added with NO Notification, and Library did not update until it was manually filtered.
      2. Catalog shows it was Added @ 10:32:38
    2. It is Local, but can't be Removed via right-click menu in Library
    3. I hid another PB (PBB:de78698e84fa404fa9d30d9c2ea23064) @ 10:36:14, which had been Uploaded and was listed (it was Added on 13 March).
    4. After unhiding this resource (@11.28:56), I received a notification for the download, and then a notification that it had been updated i.e. Local resource. But Library was not updated (Total count + list) until I actioned a Filter. This is true for v8.3 as well.
      1. I presume it was treated as Local because it had been hidden recently.
    5. I hid PBB:9d94dd94d3174708a45a68a0ec9cae93 (@12:!8:47), which was reflected in v8.3.
      1. The resource file had not been deleted on both systems.
    6. Then I unhid this resource (@12:21:55)
      1. It was removed from  Hidden Resources in both v8.3 & 8.4 Beta 3
      2. It was restored to both 8.3/8.4, but Library did not update until I manually filtered it.
      3. There was no Notification
    7. I hid PBB:9d94dd94d3174708a45a68a0ec9cae93 (@14:12:23),
      1. The resource file had not been deleted on both systems.
    8. Restarted Logos on both systems (Logos_PB2 log)
    9. The resource had been deleted on both systems.
    10. I unhid the resource on v8.3
      1. nothing happened on v8.3 & v8.4 (showing it had never been Uploaded)
    11. I re-compiled the PB on v8.3
      1. it was added with NO Notification, and Library did not update until it was manually filtered.
      2. nothing happened on v8.4
    12. I manually deleted the PB in both system's \Resources folder and restarted both systems (Logos_PB3)
      1. It was removed from both Library and not downloaded (showing it had never been Uploaded)
    13. Automatically Download Updates = NO throughout.

    Logos 8.4 Beta 3 logs:

    3326.Logos_PB3.zip

    Logos 8.3 logs:

    3005.Logos_PB3.zip

    The behaviour with Personal Books that differs from earlier versions, or that is not expected:-

    • When compiled or re-compiled, a PB is treated as Local, but there is no Notification and Library status did not change automatically (step 1 & 11).
    • Unless Uploaded, the PB cannot be Removed (step 2).
    • When hidden and almost immediately unhidden, a PB that is not Uploaded will be restored, but with no Notification and Library status did not change automatically (step 5 & 6)
      • this seems to be contingent on the resource file not being deleted, but it is unexpected behaviour.
    • When hidden and then unhidden after a restart, the same PB will not be restored (step 10, where resource file was deleted)
      • This is expected, as well as not being restored if the PB resource file is manually deleted (step 12)
    • An uploaded PB was hidden and restored as expected, but Library status did not change automatically (step 3 & 4)

    Thank you for spending time to find this bug which will benefit many once the bug has been fixed.[Y][:)]

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Dave,

    Just to clarify was PBB:9d94dd94d3174708a45a68a0ec9cae93 ever uploaded by you? Also the Notification are only updated by downloads, so compiling the resource will not update the notificaiton.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    Just to clarify was PBB:9d94dd94d3174708a45a68a0ec9cae93 ever uploaded by you?

    It's easy enough to replicate the test with a new PB, but I'm fairly sure it was never uploaded. Putting it another way, it doesn't behave like the uploaded book!

    Also the Notification are only updated by downloads, so compiling the resource will not update the notificaiton

    I use the term generically. There should be some notification/confirmation of actions that otherwise the user would be unaware of, even if there is an expectation of some action e.g. in compiling a PB that was in the Cloud, I wasn't sure what the result would be. Automatically Download New Resources suggests a download, so what happened to the resource(s) I was expecting today/any minute?

    Dave
    ===

    Windows 11 & Android 13

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Also the Notification are only updated by downloads, so compiling the resource will not update the notificaiton

    I use the term generically. There should be some notification/confirmation of actions that otherwise the user would be unaware of, even if there is an expectation of some action e.g. in compiling a PB that was in the Cloud, I wasn't sure what the result would be. Automatically Download New Resources suggests a download, so what happened to the resource(s) I was expecting today/any minute?

    When you compile a Personal Book it is not being downloaded. It is being built locally. So it would not show up in notifications. That is why it needs to be uploaded to be available. I'm not sure what you mean by compiling a PB that was in the cloud. Compiling a resources doesn't put it "in the cloud" so that it can be redownloaded.

    Download means you are downloading something from our servers. You would need to upload the PB for it to be available after you've hidden it.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    When you compile a Personal Book it is not being downloaded. It is being built locally. So it would not show up in notifications

    You're missing the point as  "I use the term generically". Substitute "message"/"confirmation" for "notification" to help escape the narrowness of the latter.

    I'm not sure what you mean by compiling a PB that was in the cloud.

    I actually compiled an uploaded PB that was in the Cloud! i.e. a PB that had been Uploaded to the FL Server via the PB tool, but was not a Local resource.

    This PB was a Cloud resource after I installed 8.4 Beta 1; the other PB existed only in the PB tool. Anyway, I got the uploaded PB out of the Cloud in an earlier beta. For the purpose of this compilation test, I put it back into the Cloud.

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    I repeated the above test to remove any doubt about the behavior of a non-uploaded PB. The steps are essentially the same, except for a mis-step (Step 10!), and I didn't include v8.3.

    1. I compiled a new PB (PBB:a9dedfcf3d104c3a9d37009686e6c214) - not Uploaded.
      1. it was added as Local, but Library did not update until it was manually filtered.
      2. The Catalog shows it was Added @ 18:24:24
    2. The PB can't be Removed via right-click menu in Library (it has to be Uploaded for this)
    3. ---
    4. ---
    5. I hid the above PB
      1. The resource file was not deleted 
    6. Then I unhid the PB
      1. It was removed from  Hidden Resources
      2. It was restored as Local, but Library did not update until I manually filtered it.
      3. There was NO Message
    7. I hid the PB again
      1. The resource file was not deleted 
    8. Restarted Logos (Logos_PB2 log)
    9. The resource was deleted (during the restart)
    10. I re-compiled the PB, and the resource panel reminded me that it was Hidden!
    11. I unhid the resource
      1. it was not restored
    12. I re-compiled the PB
      1. it was added as Local, and Library updated automatically this time!
    13. I manually deleted the PB in the \Resources folder and restarted Logos (Logos_PB3)
      1. It was removed from Library and not restored

    3058.Logos_PB2.zip

    Some conclusions have been altered, but the bug(s) remain.

    Dave
    ===

    Windows 11 & Android 13

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Dave,

    Was your library still indexing or was the catalog still being rebuilt? There can be a delay between when it gets updated. If you filtered before this was completed then that makes sense that the number hadn't been updated automatically yet. I'll ask a dev to double check the logs to make sure that is why the library count didn't update.

    Dave, are you expecting that if you hide a PB that has not been uploaded and then unhide that resource that it should come back? That is not the case, it has to be uploaded first, then if you hide it and unhide it the resource will be available.

    Also you will not get notifications of PB's being added, there will be no message unless it has been unploaded and is being downloaded.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    I'll ask a dev to double check the logs to make sure that is why the library count didn't update.

    I just re-compiled the test PB and waited 4 minutes after resource indexing and Catalog activity had ceased. Library should have updated to reflect an additional resource, but I had to filter it first.

    are you expecting that if you hide a PB that has not been uploaded and then unhide that resource that it should come back? T

    No. In Step 6 I highlighted restored to indicate it was not expected. In Step 11, it was not restored indicates what was expected. The fact that the resource file was not deleted indicates it was not expected, and is the likely cause for what happened in Step 6.

     

    Dave
    ===

    Windows 11 & Android 13

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    I repeated the above test to remove any doubt about the behavior of a non-uploaded PB. The steps are essentially the same, except for a mis-step (Step 10!), and I didn't include v8.3.

    1. I compiled a new PB (PBB:a9dedfcf3d104c3a9d37009686e6c214) - not Uploaded.
      1. it was added as Local, but Library did not update until it was manually filtered.
      2. The Catalog shows it was Added @ 18:24:24
    2. The PB can't be Removed via right-click menu in Library (it has to be Uploaded for this)
    3. ---
    4. ---
    5. I hid the above PB
      1. The resource file was not deleted 
    6. Then I unhid the PB
      1. It was removed from  Hidden Resources
      2. It was restored as Local, but Library did not update until I manually filtered it.
      3. There was NO Message
    7. I hid the PB again
      1. The resource file was not deleted 
    8. Restarted Logos (Logos_PB2 log)
    9. The resource was deleted (during the restart)
    10. I re-compiled the PB, and the resource panel reminded me that it was Hidden!
    11. I unhid the resource
      1. it was not restored
    12. I re-compiled the PB
      1. it was added as Local, and Library updated automatically this time!
    13. I manually deleted the PB in the \Resources folder and restarted Logos (Logos_PB3)
      1. It was removed from Library and not restored

    3058.Logos_PB2.zip

    Some conclusions have been altered, but the bug(s) remain.

    Dave, I had a dev look at your logs, and based upon what he saw there was still activity going on, it was an issue of the Library needing to refresh. I can ask the team to look at improving the time for refreshing the Library.

    I want to make sure I'm understanding what you are describing. In Step 6 you mention that there is no message, where do you expect a message? As I said with personal books there are no notifications.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    Dave, I had a dev look at your logs, and based upon what he saw there was still activity going on, it was an issue of the Library needing to refresh. I can ask the team to look at improving the time for refreshing the Library.

    It needs to be much better than the 4 minutes I observed in my previous post!

    In Step 6 you mention that there is no message, where do you expect a message? As I said with personal books there are no notifications.

    Step 6 might better have been stated with no mention of a message i.e.

    1. Then I unhid the PB
      1. It was removed from  Hidden Resources
      2. It was restored as Local, but Library did not update until I manually filtered it.

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    I Remove'd... an uploaded PB to the Cloud (the one in Step 3 & 4 above). After I compiled the PB, it was immediately viewable and Library showed that it is now a Local resource. However, the right-click menu shows Download instead of Remove...!?

    Sometime after this test, the status was changed and the menu shows Remove....

    But, the test is reproducible and it is now back to Download. But wait, there is more...

    It reverted to Remove... after a restart. Perhaps I didn't wait long enough[:)]

    Dave
    ===

    Windows 11 & Android 13

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Dave, I had a dev look at your logs, and based upon what he saw there was still activity going on, it was an issue of the Library needing to refresh. I can ask the team to look at improving the time for refreshing the Library.

    It needs to be much better than the 4 minutes I observed in my previous post!

    In Step 6 you mention that there is no message, where do you expect a message? As I said with personal books there are no notifications.

    Step 6 might better have been stated with no mention of a message i.e.

    1. Then I unhid the PB
      1. It was removed from  Hidden Resources
      2. It was restored as Local, but Library did not update until I manually filtered it.

    Dave,

    I'm sorry for not responding sooner, we had an issue that needed to get fixed and my time was taken on helping to reproduce some issues. In talking with our devs they confirmed that the removal of a hidden resource takes place on discovery the next time the application is launched. Because of that a hidden PB will be recoverable only if it is unhidden within the same sesson. So the behavior is normal.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,134

    In talking with our devs they confirmed that the removal of a hidden resource takes place on discovery the next time the application is launched. Because of that a hidden PB will be recoverable only if it is unhidden within the same sesson. So the behavior is normal.

    It is not expected. Irrespective of when the PB file is deleted, a non-uploaded PB should not be recovered when unhidden!

    The point of the test was to demonstrate that Step 6 was an exception (a bug), because the PB was not recovered after the PB file had been deleted (Step 11). Step 13 showed it was not recovered when the PB file was manually deleted.

    In Logos 7, the PB file is deleted when the PB is hidden. Thereafter, it was not recovered when unhidden. Also, the Library status was updated whilst the Library Catalog message was being displayed!

    Dave
    ===

    Windows 11 & Android 13