Closed (duplicate)
Project:
User Revision
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2016 at 06:57 UTC
Updated:
27 Jan 2020 at 22:38 UTC
Jump to comment: Most recent
Comments
Comment #2
znak commentedHello. I couldn't reproduce this error, my users table isn't empty, but I can't to uninstall this module.
Drupal version - 8.2.4
Comment #3
psiegel commentedHello,
I tried again from a clean installation and this time the user table was fine, all users where still there an a quick test of revision seems to work, I get the user revision when modifying it.
I had a number of other user related modules installed when I first tried it and will try to find out (later) if there is some conflict with one of them.
I also can not uninstall the module because there is data in the vid and other fields/ tables.
Best,
Pascal
Comment #4
darkstartom commentedI think I am having the same problem. Just downloaded and enabled user_revision 8.x-1.x-dev on Drupal 8.2.5 and got the following:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'beddev.users' doesn't exist: SELECT revision.vid AS vid, revision.langcode AS langcode, revision.revision_timestamp AS revision_timestamp, revision.revision_uid AS revision_uid, revision.revision_log AS revision_log, base.uid AS uid, base.uuid AS uuid, CASE base.vid WHEN revision.vid THEN 1 ELSE 0 END AS isDefaultRevision FROM {users} base INNER JOIN {users_revision} revision ON revision.vid = base.vid WHERE (base.uid IN (:db_condition_placeholder_0)); Array ( [:db_condition_placeholder_0] => 5 ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->getFromStorage() (line 428 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
I urgently need revisioning of users profiles (using the profile module) so any fix would be very much appreciated, thanks!
Comment #5
geek-merlin