Author Topic: [1.7 -beta] can not delete emails from trash  (Read 2875 times)

Henry

  • Full Member
  • ***
  • Posts: 159
    • View Profile
[1.7 -beta] can not delete emails from trash
« on: March 17, 2010, 05:28:22 pm »
i have a problem with the trash.
I can not delete emails from trash.

i have this problem not with the other objects ( contacts, notice,files,tasks) only with emails.

no entry in the log.php

the http daemon have 100% CPU usage.
upgraded from 1.6.2
« Last Edit: March 17, 2010, 05:58:57 pm by Henry »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: [1.7 -beta] can not delete emails from trash
« Reply #1 on: March 18, 2010, 08:55:10 am »
Hi,

It's a bug. You can fix it by editing file 'application/models/mail_contents/MailContent.class.php', line 182 onwards, change from:

Code: [Select]
function clearEverything() {
$this->clearContentFile();
$this->clearMailData();
parent::delete();
}

to:

Code: [Select]
function clearEverything() {
$this->clearContentFile();
$this->clearMailData();
parent::clearEverything();
}

Henry

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: [1.7 -beta] can not delete emails from trash
« Reply #2 on: March 18, 2010, 03:16:25 pm »
thx it work for new trash objects fine, but if i want to delete objects, that trash with fo 1.6.2 i have problems.

if i delete this objects i see a internal error and only one object is delete. not more.

i hope you can understand me.

thx Henry

allenlook

  • Volunteer Moderator
  • Sr. Member
  • ****
  • Posts: 312
    • MSN Messenger - sii_lookal@hotmail.com
    • View Profile
    • SI Group, Inc.
Re: [1.7 -beta] can not delete emails from trash
« Reply #3 on: March 19, 2010, 04:59:08 pm »
You're saying that if you try to use FO 1.7 to delete objects which were placed in the trash by FO 1.6.2, it is giving you the error - correct?
I am a volunteer moderator.  Any statements, opinions or observations I contribute are solely mine and are not necessarily shared by the makers of Feng Office.

Henry

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: [1.7 -beta] can not delete emails from trash
« Reply #4 on: March 20, 2010, 04:10:26 pm »
Yes it is correct. With new trashed objects i dont have any problems