Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to Kanboard v1.1.0 #37

Open
tomdeck opened this issue Nov 26, 2017 · 1 comment
Open

Cannot connect to Kanboard v1.1.0 #37

tomdeck opened this issue Nov 26, 2017 · 1 comment

Comments

@tomdeck
Copy link

tomdeck commented Nov 26, 2017

Kandroid v0.5.7 refuses to connect to Kanboard v1.1.0 saying the minimum required version is 1.0.38

I think the bug is in LoginActivity.java (lines 242-244), that expects all 3 components of the server version to be greater than or equal to 1, 0 and 38, respectively. Note that the third component of the actual server version (1.1.0) is less than the expected 38 and so gets rejected.

The correct check would be:

} else if (version[0] > Constants.minKanboardVersion[0] ||
version[0] = Constants.minKanboardVersion[0] &&
(version[1] > Constants.minKanboardVersion[1] ||
version[1] = Constants.minKanboardVersion[1] &&
version[2] >= Constants.minKanboardVersion[2])) {

I'm not sure about the formatting, sorry.

@NuestraGranja
Copy link

NuestraGranja commented Aug 27, 2023

Hi
Has anybody Being able to fix this? I am having the same problem.

I am using this version:
Versión de la aplicación: v1.2.32
Versión de PHP: 8.2.8
PHP SAPI: fpm-fcgi
Cliente HTTP: cURL
Versión del sistema operativo: Linux 6.2.0-1009-aws
Controlador de la base de datos mysql
Versión de base de datos: 8.0.3-rc-log
Navegador: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants