Menu

#602 Synch: error path needs debugging

iphone_1.9.x
closed
None
5
2017-08-23
2017-08-22
No

svn 3805: I wanted to fake an error in synch (upload) to capture the image for our manual, but failed.
Configuration: simulator for iPhone 6, karatasi Java.
define DEBUG_FAKE_BROKEN_DATABASE

Scenario:

  • create a database "Test5" (the name is important for the fake)
  • start the server and press the synch button and see the remote and local databases as expected
  • configure "Test5" for upload
  • press synch button and start the transmission
    Expected behaviour: the transmission of Test5 succeds, but fakes an error after this. Test5 shows a transmission error. The synch procedure finishes with error.
    Observed behaviour: The overall synch procedure does not switch to the next file and hangs in an endless loop, showing Test5 as selected (shaded gray).
    Note: No transmission error was shown - this is because the communication thread never blocks with the fake error, and the main thread has no time to show the error icon.

Discussion

  • Mathias Kussinger

    • status: open --> closed
    • assigned_to: Mathias Kussinger
     
  • Mathias Kussinger

    Fixed with svn3812

     

Log in to post a comment.