Closed
Bug 512223
Opened 16 years ago
Closed 16 years ago
new user-registration does not work with sqlite
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markus.doits, Assigned: telliott)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3pre) Gecko/20090823 Shiretoko/3.5.3pre
Build Identifier: a5c52fdebd68
running tests/load_data0.5.pl with WEAVE_STORAGE_ENGINE sqlite (did not test it with mysql though) gives:
create user: "User not found"
create user again (should fail): "User not found"
check user existence: 0
delete: <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
...
i tracked down the first few "User not found" to line 239 of server/user/1/weave_storage.php, where it checks for the user which will be created (if i got it right) - which obviously does not exist yet.
not sure whether this is the only error, but this is at least the first thing going wrong in sqlite. maybe porting sqlite to 0.5 is not yet ready?
Reproducible: Always
| Assignee | ||
Comment 1•16 years ago
|
||
Hmm, you're a little ahead of us - this server isn't technically out yet (though close!) and the sqllite part hadn't been tested. I've got this working properly now, though, and the latest hg should do fine.
If you want to be a guinea-pig: https://wiki.mozilla.org/Labs/Weave/0.5/Setup/Storage
Note that the client doesn't yet speak 0.5, so it won't help. However, the setup shouldn't mess with your 0.3 version.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•