Comments (2)
Hi @tzappia. Thank you for reporting this issue. I'm able to reproduce it and I can see how it would be a nuisance.
Here are the steps that I followed:
- Extract
firestore_export_data.zip
to a directory on your local computer. - Start the Firestore emulator:
firebase emulators:start --only firestore --import 2024-04-19T16:22:17_20757
(the path to--import
is the directory that was created upon extracting the zip file). - Run a query in the collection
EmulatorImportIssue8166
.
Expected Results:
No warnings are logged.
Actual Results:
The following warning is logged to the console: Document EmulatorImportIssue8166/DocA contains a document reference within a different database (dconeybe-testing/(default)) which is not supported. It will be treated as a reference in the current database (foo-bar-baz/(default)) instead.
Here is some sample code to run the query:
const db = getFirestore();
const collectionRef = collection(db, "EmulatorImportIssue8166");
const snapshot = await getDocs(collectionRef);
for (const documentSnapshot of snapshot.docs) {
console.log(`Document: ${documentSnapshot.id}: ${JSON.stringify(documentSnapshot.data())}`);
}
Attachments:
from firebase-js-sdk.
I've logged b/335854401 to track this request internally. Note, however, that I can't make any promises as to if or when we will fix this. But we will reply back if there is any progress.
from firebase-js-sdk.
Related Issues (20)
- Firestore emulator tests take a long time to exit after completion HOT 1
- Vitest having problems with the types of firebase/auth/web-extension HOT 1
- FR: Better support for types in where clauses HOT 2
- Using onBackgroundMessage on edge display a notification that my chrome extension is running the background
- onAuthStateChanged gives the user after a long time on app reloads HOT 4
- isSupported returns false positive HOT 11
- Update dependency undici HOT 1
- Error " dependent-sdk-initialized-before-auth" received when calling `getAuth` HOT 6
- Firestore emulator fails with "FIRESTORE (10.9.0) INTERNAL ASSERTION FAILED: Unexpected state" when run in jsdom environment HOT 2
- Chrome extension Service worker "ReferenceError : XMLHttpRequest is not defined" Using firebase storage HOT 1
- Cannot invoke HttpsCallable functions on Safari HOT 5
- `User.getIdToken(true)` fails with quota exceeded HOT 1
- ID token docs say refreshes with 5 minutes buffer but seems to be 30 seconds HOT 2
- Support offline memoryLocalCache persistence for node HOT 3
- Expo: Unable to resolve "./index.shared" from "node_modules/@firebase/auth/dist/index.rn.d.ts" HOT 2
- Upgrade from 9.10.0 to 10.11.0 leads to 46kB increase in bundle size HOT 3
- All remote config param values are not returned on App A but are returned on App B HOT 3
- Firestore experimentalAutoDetectLongPolling/experimentalForceLongPolling does not work as expected HOT 11
- FIRESTORE (10.9.0) INTERNAL ASSERTION FAILED: Unexpected state HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-js-sdk.