Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - andy.hoyle

Pages: [1] 2
1
Great thanks!

2
Older versions / Re: Task template object Properties
« on: August 25, 2009, 11:18:04 am »
UPDATE: If i manually edit the DB and add new lines in the value column of og_template_object_properties - the new lines are maintained when the template is instantiated.  ;D :D ;D

3
Older versions / Re: Task template object Properties
« on: August 25, 2009, 11:05:00 am »
Could someone help me to create carriage returns using a hack? Could I put special characters in such as ## which would then be replace by carriage return on DB write?

4
A new template I created works fine!

Bizarre! The original template still defaults to my personal workspace.

They are both in use so I can't delete the problem template. If you can tell me the tables to look in I can compare the two to check the parameters.


5
Older versions / Re: 1.5.2 Mail Body not showing
« on: August 21, 2009, 12:03:22 pm »
Did you upgrade since you received this email?

See post:

http://forums.opengoo.org/index.php?topic=2500.0

Quote
FIX HERE: Upgrade instructions did not advise to keep TMP directory which was needed for below operations. Thus upgrade instruction should say in para 3: but keeping these folders: config tmp upload

6
Older versions / Template Object Tags and Linked Objects are ignored
« on: August 21, 2009, 11:50:45 am »
When adding a task to a template, all the tags and linked objects are ignored.

7
Older versions / Task template object Properties
« on: August 21, 2009, 11:49:47 am »
When editing object properties in [Open property editor] window, carriage returns are not carried through and saved. It means that the task Description field cannot be multi-line.

8
Older versions / New task from template defaults to personal workspace
« on: August 21, 2009, 11:47:41 am »
1.5.2

New task from template defaults to personal workspace - it completely ignores assigned template workspace and workspace selection in left column

9
Version 1.5.2

Assigned to: dropdown only shows users with task write permissions

I have quite a few users. When I come to create a new task and select "Assigned to:" only the users who have task write permissions for that workspace are shown.

Can anyone point me in the right dorection to correct this please?

10
Older versions / Error when clicking "Recent activities ... "
« on: July 30, 2009, 05:38:54 am »
Clicked on
Recent activities on workspace 'My Workspace'

and got error:

Quote
Error (DBQueryError)
Query failed with message 'Unknown column 'Array' in 'where clause''

Error params:

File:    /my/path/to/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php

Line:    386

Sql:    SELECT * FROM `og_application_logs` WHERE `is_private` <= '1' AND `is_silent` <= '1' AND `id` IN (SELECT `object_id` FROM `og_workspace_objects` WHERE `object_manager` = 'ApplicationLogs' AND `workspace_id` IN (Array)) ORDER BY `created_on` DESC LIMIT 0, 50

Error number:    1054

Error message:    Unknown column 'Array' in 'where clause'

Backtrace:
#0 /my/path/to/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php(304): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /my/path/to/opengoo/environment/library/database/DB.class.php(209): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /my/path/to/opengoo/environment/classes/dataaccess/DataManager.class.php(242): DB::executeAll('SELECT * FROM `...')
#3 /my/path/to/opengoo/application/models/application_logs/base/BaseApplicationLogs.class.php(114): DataManager->find(Array)
#4 /my/path/to/opengoo/environment/classes/dataaccess/DataManager.class.php(270): BaseApplicationLogs->find(Array)
#5 /my/path/to/opengoo/application/models/application_logs/base/BaseApplicationLogs.class.php(131): DataManager->findAll(Array)
#6 /my/path/to/opengoo/application/models/application_logs/base/BaseApplicationLogs.class.php(133): BaseApplicationLogs->findAll(Array)
#7 /my/path/to/opengoo/application/models/application_logs/ApplicationLogs.class.php(213): BaseApplicationLogs::findAll(Array)
#8 /my/path/to/opengoo/application/controllers/FeedController.class.php(92): ApplicationLogs::getOverallLogs(true, true, Array, 50)
#9 /my/path/to/opengoo/environment/classes/controller/Controller.class.php(76): FeedController->project_activities()
#10 /my/path/to/opengoo/environment/classes/controller/PageController.class.php(62): Controller->execute('project_activit...')
#11 /my/path/to/opengoo/environment/classes/Env.class.php(173): PageController->execute('project_activit...')
#12 /my/path/to/opengoo/init.php(149): Env::executeAction('feed', 'project_activit...')
#13 /my/path/to/opengoo/index.php(9): require('/var/home/openg...')
#14 {main}

Autoglobal varibles:

$_GET:    Array (
  ['c'] => (string) 'feed'
  ['a'] => (string) 'project_activities'
  ['id'] => (string) '1'
  ['token'] => (string) 'c49649dccdb7e1379abe2b4f4e9e35d60ca22821'
  ['project'] => (string) '2'
)

$_POST:    

$_COOKIE:    Array (
  ['__utma'] => (string) '166054271.539558655037944960.1242903145.1248682865.1248697052.7'
  ['__utmz'] => (string) '166054271.1242903145.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
  ['PHPSESSID'] => (string) 'f26a35285a92cce365aff925a5bb7776'
  ['id'] => (string) '1'
  ['token'] => (string) 'c49649dccdb7e1379abe2b4f4e9e35d60ca22821'
)

$_SESSION:    
Execution time:
Total execution time: 0.11999702453613 seconds

11
WHERE?

I was looking for this and was dissapointed to see that it wasn't in the New Document menu in 1.5.

12
Older versions / Milestone visibility problem
« on: July 24, 2009, 06:09:12 am »
I have workspace structure

Parent 1
  |
  -- Child 1
  |
  -- Child 2

Added new milestone "Milestone 1" under Parent 1.

Went to task display clicked on Child 1 workspace. Clicked edit task and tried to select "Milestone 1". It was not available.

Had to select Parent 1 workspace then click edit task then Milestone 1 was available.

13
Older versions / Template Group Permissions not used!
« on: July 24, 2009, 05:57:42 am »
Template Management permissions don't take into account group permissions - only user based permissions:

Changed apllication/Controllers/TemplateController.php

changed lines below to fix problem

Code: [Select]
<?php

class TemplateController extends ApplicationController {

        function 
__construct() {
                
parent::__construct();
                
prepare_company_website_controller($this'website');
                
ajx_set_panel("administration");

                
// Access permissios
                
if(!logged_user()->isCompanyAdmin(owner_company())) {
                        
flash_error(lang('no access permissions'));
                        
ajx_current("empty");
                } 
// if
        
}

        function 
index() {
--                if (!
can_manage_templates(logged_user())) {
++                if (!
can_manage_templates(logged_user(),true)) {
                        
flash_error(lang("no access permissions"));
                        
ajx_current("empty");
                        return;
                }
                
tpl_assign('templates'COTemplates::findAll());
        }

        function 
add() {
--                if (!
logged_user()->getCanManageTemplates()) {
++                if(!
can_manage_templates(logged_user(),true)){

14
Older versions / Re: Exception when viewing document
« on: July 16, 2009, 11:52:32 am »
Worked beautifully - thanks very much!!!

15
Older versions / Re: Exception when viewing document
« on: July 16, 2009, 09:31:04 am »
Thanks for the suggestion. I tried that and got the same error:

Code: [Select]
Caught Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "FILTERITERATOR"'
in /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php:105
Stack trace:
#0 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php(111): AutoLoader->loadClass('FILTERITERATOR')
#1 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/functions.php(33): AutoLoader->loadClass('FILTERITERATOR')
#2 /var/home/opengoo/opengoo.prometheanplanet.com/www/library/htmlpurifier/HTMLPurifier.standalone.php(6222): __autoload('FilterIterator')
#3 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/functions/general.php(588): require_once('/var/home/openg...')
#4 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/controllers/FilesController.class.php(1878): purify_html('
 Test D...')
#5 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/controller/Controller.class.php(76): FilesController->display_content()
#6 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/controller/PageController.class.php(62): Controller->execute('display_content')
#7 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/Env.class.php(173): PageController->execute('display_content')
#8 /var/home/opengoo/opengoo.prometheanplanet.com/www/init.php(150): Env::executeAction('files', 'display_content')
#9 /var/home/opengoo/opengoo.prometheanplanet.com/www/index.php(9): require('/var/home/openg...')
#10 {main}

Pages: [1] 2