Feng Forum

Support => Older versions => : dkouis December 01, 2009, 08:36:44 AM

: Archived Objects
: dkouis December 01, 2009, 08:36:44 AM
Hi to all,
Congratulations for the effort and for providing such a nice tool.
We currenty using 1.6RC version !
We have noticed that when you archive an object that doesnt appear at the Archived Objects folder.
When you search with a keyword for this object, you find it and you can unarchive it !
No error log appears (we set the debug to true). The only strange we noticed is that in history window of the object we get the following error (sorry for the greek names ..) :
Today, 13:29:35    Δημήτρης Κουής    Missing lang: log archive projecttasks
Today, 13:27:31    Δημήτρης Κουής   Missing lang: log unarchive projecttasks
Today, 13:20:38    Δημήτρης Κουής   Missing lang: log archive projecttasks
Today, 13:20:28    Δημήτρης Κουής   Missing lang: log unarchive projecttasks
Today, 13:10:09    Δημήτρης Κουής   Missing lang: log archive projecttasks

Any ideas?

Thanks in advance



: Re: Archived Objects
: ignacio December 01, 2009, 02:12:58 PM
Hi,

Notice that when viewing Archived objects the regular workspace and tag filters also apply. Is the object shown when viewing "All" workspaces and "All" tags?
: Re: Archived Objects
: dkouis December 02, 2009, 03:42:17 AM
I tried what you suggested and nothing. But this problem occured when archiving task objects. When we tried documents it worked ok (Althought the text box at the top showed Missing lang: Succesful archive object)
The same probles as in the case of task object applies with calendar entries.
I hope this helps you.

: Re: Archived Objects
: ignacio December 02, 2009, 09:29:26 AM
It seems to work OK for me in 1.6 RC. You can try it at demo.opengoo.org (1.6 beta2). There must be something else about these tasks and events that are interfering. Can you think of anything special about those tasks and events?
: Re: Archived Objects
: dkouis December 07, 2009, 09:51:10 AM
I think there is a problem with the Greek Characters ... I will investigate more
: Re: Archived Objects
: gvagenas December 10, 2009, 08:31:51 AM
I also think that this is a bug.

For me, when i archive a task, sometimes i can see it on the "Archived Object" and sometimes no.
Also, if i choose un-Archive sometimes its working and sometimes not.

Nothing to do with Greek characters.

My installation is 1.5.3 upgrade to 1.6.0
: Re: Archived Objects
: ignacio December 10, 2009, 04:52:37 PM
How do you archive tasks? By using the toolbar button in the task listing or by entering the task's view and clicking on the "Acrhive" action?
: Re: Archived Objects
: gvagenas December 10, 2009, 06:03:09 PM
I am using the toolbar button to archive the tasks
: Re: Archived Objects
: ignacio December 14, 2009, 11:07:58 AM
Could it be that completed tasks are not shown while pending tasks are?
: Re: Archived Objects
: ignacio December 14, 2009, 11:12:19 AM
Try changing line 1057 of 'application/controllers/ObjectController.class.php' from:

:
$completed = $trashed ? '': 'AND `completed_on` = ' . DB::escape(EMPTY_DATETIME);
to:

:
$completed = ($trashed || $archived) ? '': 'AND `completed_on` = ' . DB::escape(EMPTY_DATETIME);
: Re: Archived Objects
: gvagenas December 16, 2009, 08:39:13 AM
Ignacio,

Yes that  worked... The archived tasks were completed and by changing the code i can see them in the archived list.

Thanks
: Re: Archived Objects
: mailnet_uk December 16, 2009, 04:40:00 PM
On a similar subject, I archived a couple of document objects in the latest 1.6 stable version and got the error: "Missing lang: success archive files" although the files did archive successfully.