refi-app icon indicating copy to clipboard operation
refi-app copied to clipboard

Import as String: TimeStamp, Geopoint and ReferenceUsing windpow

Open polenvinagre opened this issue 2 years ago • 9 comments

Hi, great tool! I am using windows version. When import: TimeStamp, Geopoint and Reference they are changed to String. I tried with and without: Timestamp GeoPoint DocumentReference

polenvinagre avatar Jun 15 '22 23:06 polenvinagre

same here, do you found any solution?

zahi101 avatar Sep 22 '22 21:09 zahi101

In my case, this occurs with an array of DocumentReferences.

The source code looks good in this regard, but for some reason it doesn't work...

I'm also on the Windows (v0.0.19), although that shouldn't matter.

ciriousjoker avatar Sep 30 '22 18:09 ciriousjoker

Having the same problem. Essentially makes the import/export feature useless. Where in the code would one look to resolve...I can fix it.

iappssteve avatar Oct 22 '22 20:10 iappssteve

Search for the Docummebtreference string in the codebase to see where it's being converted. However, I couldn't figure out how to fix it when I looked

ciriousjoker avatar Oct 22 '22 20:10 ciriousjoker

Hi could you guys give me some csv file that you imported so I can take a look at it?

thanhlmm avatar Oct 23 '22 02:10 thanhlmm

I chose to import from a json instead:

[
    {
        "__id__": "testdoc",
        "testref": "__DocumentReference__test/testref"
    }
]

Here's the csv version:

__id__,testref
"testdoc","__DocumentReference__test/testref"

Also, I couldn't try importing the csv because the importer only works with json files at the moment.

ciriousjoker avatar Nov 12 '22 21:11 ciriousjoker

"location": "__GeoPoint__34.461071618220096###135.38316495721594",
↑ String (´;ω;`)ウゥゥ

teimusheru avatar Dec 14 '22 06:12 teimusheru

"location": "__GeoPoint__34.461071618220096###135.38316495721594", ↓ "location": "__GeoPoint__34.461071618220096###135.38316495721593", commit
↓ firebase Ok

teimusheru avatar Dec 14 '22 06:12 teimusheru

Any progress on this? It still happens a year later.

cupojoe avatar Jun 27 '23 22:06 cupojoe