-
Notifications
You must be signed in to change notification settings - Fork 343
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
MongoDB is not mandatory anymore? #364
Comments
PDO support is not complete, so MongoDB is still the recommended and default datastore: Please include the exact error and details of your second statement in the issue body. |
That message is emitted by composer. And removing what? |
Ops sorry I forgot the most important part.... |
You can disable platform check or use composer 1.x: |
Seems that composer v2 is enabled as true but with false is fixed. I am trying with |
Would it make more sense to declare the mongodb adapter package a suggested/recommended dependency? Keeping in mind we already use composer v1. Also, changing the platform-check option appears to be a Composer v2 feature, this is the result of Composer v1:
To get this working, I had to fork The readme, repo description, and documentation claim that PDO is currently a supported option. It is clear that this is not the case. I suggest these be updated to reflect that PDO support is a work in progress. Our project has wasted a lot of valuable time and lost weeks of progress as a result of this inaccurate information. |
Patches in form of pull requests are welcome. Also, please note that this project is worked on a voluntary basis in the developer's free time and will. |
As is ours, I would produce a patch myself but I am unfamiliar with the conventions and structure of this repo, nor do I have the administrator access to amend all instances that need adjusting, e.g. the repo description. I also do not know what the appropriate edit would look like. But in the meantime, please accept constructive feedback constructively. Our project has just lost a significant amount of time due to highly misleading and outright incorrect documentation, and we have a lot of work to do undoing a migration from MongoDB to PDO as a result. As you can appreciate, our capacity and goodwill to contribute changes may be strained. |
as noted in the first response in this issue, pdo support is just incomplete: "incomplete" does not mean outright wrong and pdo not working. what you were doing (removing dependencies) is not intended as out of box solution, so it's not surprising that you end up with troubles. on the bright side: there have been fixes continuously to improving pdo support with releases 0.10..0.16: those fixes are based on user reports and some of the differences came up when trying to setup PHPUnit tests for pdo. I've tried to map differences in: so far the "pdo" users have not complained, so I guess most of the wanted functionality is covered. the other pdo than sqlite support was fixed only in 0.15.0 really, but first pdo support was merged in 0.10.0. |
You have at least 2 PDO users complaining here. I don't mind if using PDO only gets us 90% of the functionality, or if we have to take additional steps, as long as it's clearly stated, which it is not. You yourself reviewed our PR's trying to implement PDO and did not catch this. You can make whatever decisions you want for your own project, just make sure you document them accurately. I shouldn't have to read through pages of github issues on the off-chance one of them contains relevant information. It's an unreasonable expectation. ( You could even have pinned that issue so it was at the top ) |
On VVV now we are using Sqlite but the composer.json of this project and composer.lock require the mongo library.
If mongo is not installed the library block the execution of XHGUI with a warning and blank page, so I had to remove it from the composer.json file to work.
The text was updated successfully, but these errors were encountered: