I've noticed some problems with the upgrading process and I'm not sure if the problems are unique to me or if they are just how it is.
Any comments would be helpful, and I might still have commit access to be able to change it, since I was a Vanilla 1 developer.
- Before the database import, users are able to register. After the import, registration is broken.
- Old users can no longer log in
- In the new installation, deleted comments are visible to everyone.
There were no errors during any step of the installation process, and it all works fine before the upgrade (on the fresh install of Vanilla 2.0.11) so I think it is probably a problem with the Vanilla export/import process and not my installation.
Comments
3) Would need to be answered / addressed by @Todd or @Lincoln
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
Thanks for the reply.
You're right about 1 and 2, that fixed it.
An answer on 3 would be great since that is the last think that is preventing me from updating from 1 to 2, I think.
Vanilla developer [GitHub, Twitter]
The vanilla2export file is the builder, but you probably just want the Vanilla 1 class.
Send pull requests to the unstable branch (just like Garden).
Vanilla developer [GitHub, Twitter]
If it's by design then I think you can remove the DateDeleted column from the Comments table in Vanilla 2 since it seems redundant.
Let me know if I'm misunderstanding, though.
Anyway the fix for the importer is to replace line 154 in class.vanilla1.php,
AND coalesce(c.WhisperUserID, 0) = 0", $Comment_Map);with:
AND coalesce(c.WhisperUserID, 0) = 0AND coalesce(c.Deleted, 0) = 0", $Comment_Map);
I also added the updated export script to my blog here in case anyone wants to use the update before it is officially released.
Vanilla developer [GitHub, Twitter]
Vanilla developer [GitHub, Twitter]