Skip to content

[RetroShare] Bug when looking for a file in directory tree

This bug es really strange and is only happening, apparently, in one device, but could be happening in others, but is unknown.

The function findAFileOnDiretoryTree is used to find a file that is already shared to get the hash and publish it to a new post.

The result of calling /rsFiles/requestDirDetails return a JSON object with a handle parameter used to navigate through RS file tree.

The problem is that in a new installations of elRepo.io this parameter is an int, but, and here the strange thing, in my arm64 phone that had installed the firsts versions of elrepo.io, is an int64, that is a map containing:

        "handle": {
            "xint64": 4194304,
            "xstr64": "4194304"
        },

So, what a hell is happening here? I uninstalled completely elRepo.io on this device and tested again, and the same. On other arm64 phones that the installation is new is an int.

Is there some kind of trace somewhere on the phone that makes this to be a int64 instead an int?

I have the RetroShare standalone apk installed too on this device, maybe is causing interference???