Hi, all
I'm using 5.0.15 on RHEL (but also ubuntu)
I disbled the email function for accounts, setting zimbraFeatureMailEnabled to FALSE, but I discovered that I cannot create calendar, tasks, documents and so on.
I think I've found the place where the bug could be:
ZmNewOrganizerDialog.prototype._getFolderData =
function() {
// make sure a parent was selected
var parentFolder;
if (this._folderTreeView) {
// default to the root if no folder is selected
parentFolder = this._folderTreeView.getSelected() || appCtxt.getFolderTree().root;
} else {
var folderTree = appCtxt.getFolderTree();
if (folderTree) {
parentFolder = folderTree.root;
} else {
parentFolder = this._folderTreeView.getSelected()
}
}
// check name for presence and validity
var name = AjxStringUtil.trim(this._nameField.value);
var msg = ZmFolder.checkName(name, parentFolder);
// make sure parent doesn't already have a child by this name
if (!msg && parentFolder.hasChild(name)) {
msg = AjxMessageFormat.format(ZmMsg.errorAlreadyExists, [name]);
}
var color = null;
if (!msg && this._colorSelectId) {
color = this._colorSelect.getValue();
}
var url = null;
if (!msg && this._remoteCheckboxField) {
url = this._remoteCheckboxField.checked ? this._urlField.value : null;
if (url || url != null) {
msg = ZmOrganizer.checkUrl(url);
}
}
if (!msg && parentFolder.disallowSubFolder) {
msg = AjxMessageFormat.format(ZmMsg.errorSubFolderNotAll owed, parentFolder.name);
}
return (msg ? this._showError(msg) : {l

arentFolder.id, name:name, color:color, url:url});
};
ZmNewOrganizerDialog.prototype._getTabGroupMembers =
function() {
var list = [this._nameField];
if (this._colorSelect) {
list.push(this._colorSelect);
}
return list;
};
From Startup2_all.
js, if emailfunction is disabled no other function (calendar, tasks, documents...) allow to create a new item, this is because the root folder is not defined, and I think that the prolem is inhow this function determines the root folder.
Can you help me ? thank you very much