You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: litedb-ce-v5.0.7 / LiteDB Studio 1.0.2.0 / Windows 10 / Net Core 3
Describe the bug
First of all, I think this project is amazing!, after some toying with it, I found a scenario which throws an error and I wasn't able to access the database anymore
Steps to reproduce
Open the file with ConnectionType.Shared,
Insert rows to 1 single collection, there is one single collection only
With LiteDB Studio, execute drop collection then rebuild with collation or selecting the rebuild word only
Try to connect to the file and this error is thrown: Unable to cast object of type 'LiteDB.Engine.HeaderPage' to type 'LiteDB.Engine.IndexPage'.
A possible workaround is to delete all rows instead of dropping the collection, then rebuild to reduce the file size, and everything works ok
I hope this bug isn't so hard to solve, good luck!
The text was updated successfully, but these errors were encountered:
Version: litedb-ce-v5.0.7 / LiteDB Studio 1.0.2.0 / Windows 10 / Net Core 3
Describe the bug
First of all, I think this project is amazing!, after some toying with it, I found a scenario which throws an error and I wasn't able to access the database anymore
Steps to reproduce
ConnectionType.Shared
,drop collection
thenrebuild
with collation or selecting the rebuild word onlyA possible workaround is to delete all rows instead of dropping the collection, then
rebuild
to reduce the file size, and everything works okI hope this bug isn't so hard to solve, good luck!
The text was updated successfully, but these errors were encountered: