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.
Fixed with svn3812