TheMagician1 / redmine-desktop-client

A port of the original RedmineClient to use the REST API of Redmine
http://themagician1.github.io/redmine-desktop-client/
30 stars 12 forks source link

Error after deleting projects #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Not quite sure, I cannot test it again as the client refuses to work properly.
But I guess:
1. Open Redmine Client and do some tracking on a project issue.
2. Close the client.
3. Delete the project
4. Reopen the client.

What is the expected output? What do you see instead?
The title of the client has my username in it and the status "Retrieving form 
data...". After some seconds an Error appaers (see attachment). After a click 
on "OK" the settings dialog appears. "Test Connection" reports success but 
after saving the error appears again (and so on).
After monitoring the network data I can see that the client tries to retrieve 
memberships.xml with a projectid that is not in redmine any more.
This leads to a 404 as answer and, I guess, alerts the error.

What version of the product are you using? On what operating system?
Redmine Client V2 Version 2.0.3.0 on Win7 64bit.

Please provide any additional information below.
Is there a way to reset the working data the client uses?
I found a setting lastProjectId in user.config in AppData, but it seems I cant 
change it there (its overwritten again with the old value after opening the 
client). The value which is set there is the deleted Project ID.

Regards

Original issue reported on code.google.com by Jon...@gmail.com on 12 Feb 2013 at 10:30

Attachments:

GoogleCodeExporter commented 9 years ago
Update: After deleting the config dir with the user.conf it seems to be working 
again.
Perhabs the 404 could be catched and the setting be cleared?

Original comment by Jon...@gmail.com on 12 Feb 2013 at 10:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r183.

Original comment by bas.them...@gmail.com on 12 Feb 2013 at 8:41