HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Client fails at unspecified unit activity target
This bug is not noticed with a standard server build but got on an experimental one in a Gtk 3.22 client: if unit's activity requires target (it was Pillage) but it is not set, the client, trying to get the appropriate sprite (
rmact), gets segfault. IMHO it should be more tolerant to server errors.
#1 Updated by Alexandro Ignatiev 11 months ago
- File 0001-Stop-segfaults-in-clients-for-no-activity-targets.patch 0001-Stop-segfaults-in-clients-for-no-activity-targets.patch added
This patch may help.
#3 Updated by Alexandro Ignatiev 10 months ago
- File 0001-Prevent-clients-segfault-if-server-lacks-target-for-.patch 0001-Prevent-clients-segfault-if-server-lacks-target-for-.patch added
Wrote a patch. Clients will still fail in a ruleset that lacks any extras but I doubt nothing else will fail with such a ruleset. Maybe the first patch should also auto-find an appropriate extra as the second one does.
#4 Updated by Marko Lindqvist 8 months ago
- File 0043-Avoid-client-crash-if-workertask-requiring-target-do.patch 0043-Avoid-client-crash-if-workertask-requiring-target-do.patch added
- Status changed from New to Resolved
Alexandro Ignatiev wrote:
Maybe ... should also auto-find an appropriate extra
As this is clearly an server error situation that should never happen, I don't think it makes sense to build much functionality to cater for it. Attached patch just adds check that makes client more robust i.e., avoids the crash, but does not otherwise try to fix the situation.