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

Switch database to MongoDB and comment out Data setting #2320

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

pournasserian
Copy link
Contributor

Commented out the line setting the Data property in ContentMessageHandler.cs for potential debugging or testing purposes. Updated appsettings.json to switch the database configuration from LiteDb to MongoDB, including changing the Database setting and updating the DefaultConnection string to a MongoDB connection string.

Commented out the line setting the `Data` property in `ContentMessageHandler.cs` for potential debugging or testing purposes. Updated `appsettings.json` to switch the database configuration from LiteDb to MongoDB, including changing the `Database` setting and updating the `DefaultConnection` string to a MongoDB connection string.
@pournasserian pournasserian added the bug Something isn't working label Nov 30, 2024
@pournasserian pournasserian added this to the MVP milestone Nov 30, 2024
@pournasserian pournasserian linked an issue Nov 30, 2024 that may be closed by this pull request
@pournasserian pournasserian marked this pull request as draft November 30, 2024 00:09
@pournasserian
Copy link
Contributor Author

@TheHadiAhmadi in ContentMessageHandler.cs line 42, if you uncomment that it will raise exception.

I think while serializing (bson) Dictionary string, object?>, when the value is Guid it raises exception.

Please try deeper investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mongodb has error when running setup
2 participants