Results 1 to 4 of 4

Thread: Functions not workin if email is disable

  1. #1
    Join Date
    Jul 2006
    Location
    Pisa
    Posts
    135
    Rep Power
    9

    Default Functions not workin if email is disable

    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) : {larentFolder.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

  2. #2
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    10
    Rep Power
    7

    Question Re: Functions not workin if email is disable

    I have the same problem. We want to deploy the use of the calendar and documents only, and not use the email. But when you disable the email tab, your calendar and other items no longer work, their there, but don't work.

    Has anyone got a solution or work around for this issue??


    ZCS OS, 5.0.14
    Silas T.
    International Affairs
    University of Oregon

  3. #3
    Join Date
    Jul 2006
    Location
    Pisa
    Posts
    135
    Rep Power
    9

    Default

    I added on row 32414 of the Startup1_2_all.js
    // Aggiunto da Lorenzo
    ZmOrganizer.TREE_TYPE["FOLDER"] = "FOLDER";

    then I created the compressed version gzip -S .zgz Startup1_2_all.js, because gzip removes the Startup1_2_all.js make sure you have a copy of it.

    Restart zimbra and calendar will work, on briefcase there is still an error.

  4. #4
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    6

    Default

    I found the related bug for this ...

    Bug 35137 – Cannot create calendar if mail si disable.

    If anybody has an update please do share it....thanks

Similar Threads

  1. [SOLVED] mailboxmanager does not start
    By jrefl5 in forum Administrators
    Replies: 18
    Last Post: 01-30-2012, 10:40 PM
  2. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 10:38 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 02:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •