Re: FS versus DB Projects
Adam Tauno Williams <[email protected]> Wed, 11 Mar 2009 13:48:17 -0400
| Newsgroups | gmane.comp.cms.opengroupware.user |
|---|---|
| Message-ID | <1236793697.5811.29.camel@linux-m3mt> |
> I played a bit with projects in 1.1.7 on Debian Etch.
> If the DB storage backend is installed and the FS storage backend is
> not, new projects would be created as FS projects and are not accessible
> because the storage backend is missing.
I haven't heard of that one exactly. I thought you could create FS
projects regardless of the FS backend being installed. This is a bug in
the WebUI.
<http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=394>
> So to create DB projects I had to install the FS backend also and select
> the DB type when creating the project.
> Is this a bug or is this configurable somewhere (Always create DB
> projects)?
> As a side note: Can I convert an empty FS project to a DB project or
> delete it completely?
If it really is empty you can probably just change it in the DB.
Change it from a file:// URL (like
"file:///var/lib/opengroupware.org/fs/9303330") to a skyrix url (like
"skyrix://yannigan-white.mormail.com/morrisonOGo/") and make
sure /var/lib/opengroupware.org/documents/9303330 exists and is owned by
ogo:skyrix.
i'll give that a try myself when I get a chance.
Bug is probably in OGoFileManagerFactory
as WebUI/Project/LSWProject/LSWProjectEditor.m does
....
- (BOOL)_ensureProjectBase {
if ([self->projectBase length] == 0) {
if (![self hasMoreThanOneProjectBases]) {
[self logWithFormat:
@"Note: autoselecting FileSystem storage for new
project"];
self->projectBase = @"FileSystem";
}
else {
// TODO: labels!
[self setErrorString:@"Please specify your project storage!"];
return NO;
}
}
return YES;
}
...
which doesn't seem to really work. But it looks like setting a default
to initialize the projectBase attribute would probably be easy enough.
--
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users