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.


Topics - andy.hoyle

Pages: [1] 2
1
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.

2
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.

3
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

4
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?

5
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

6
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.

7
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)){

8
Security / Allow Non Admin Access to Administration Area
« on: June 25, 2009, 11:04:35 am »
I have groups:

Admin
Managers
Users

My Managers (Group ID: 10000001) could not get into admin area because they were not admin - even though I had given this group permission to create their own workspaces.

Fix:
application/models/groups/Group.class.php - line 14:
Code: [Select]
++ const CONST_MANAGER_GROUP_ID = 10000001;
appication/models/users/Users.class.php - line 279:
Code: [Select]
-- $this->is_administrator = GroupUsers::isUserInGroup($this->getId(),Group::CONST_ADMIN_GROUP_ID );
++ $this->is_administrator = GroupUsers::isUserInGroup($this->getId(),Group::CONST_ADMIN_GROUP_ID ) ||
GroupUsers::isUserInGroup($this->getId(),Group::CONST_MANAGER_GROUP_ID );

My managers now have an Admin link and can only see the Workspace Icon in Administration area

:D

9
Older versions / Exception when viewing document
« on: June 25, 2009, 07:37:39 am »
Version 1.4.2

Documents > New > Document

Typed content, clicked save, viewed document - I get this:

-------------------------------------------------------

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/Files

10
1.4 final / Missing lang: mime type
« on: June 03, 2009, 07:11:50 am »
Missing lang: mime type:

application/vnd.openxmlformats-officedocument.wordprocessingml.document

11
1.4 final / Download Document broken
« on: June 03, 2009, 07:04:31 am »
When I click the down arrow next to the document or go into the document and click download I get JS error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 3 Jun 2009 10:00:10 UTC

Message: Object doesn't support this property or method
Line: 9
Char: 3263
Code: 0
URI: http://myurl.com/public/assets/javascript/extjs/ext-all.js

Version 1.4.1 btw

12
Older versions / User can work on more than one task at one
« on: April 20, 2009, 06:27:07 am »
When viewing tasks and the Time alarm clock icon is visible, users can work on multiple tasks at once.

If this is by design - can we have the option to turn "working on multiple tasks" on or off?

There seems to be a check in application/models/ProjectDataObject.php line 739 to check if the user already has a task open but it doesn't seem to work:

if ($this->hasOpenTimeslots($user))
         throw new Error("Cannot add timeslot: user already has an open timeslot");


13
Development / List more than 8 tasks on a page
« on: April 16, 2009, 10:41:38 am »
Code: [Select]
public\assets\javascript\og\tasks\drawing.js
line 8:
+
+ var no_of_tasks = 20;

line 152:
- if (i == 8){ //Draw expander if group has more than 8 tasks
+ if (i == no_of_tasks){ //Draw expander if group has more than 8 tasks

line 158:
- for (var j = 8; j < group.group_tasks.length; j++)
+ for (var j = no_of_tasks; j < group.group_tasks.length; j++)

line 214:
- for (var i = 8; i < group.group_tasks.length; i++)
+ for (var i = no_of_tasks; i < group.group_tasks.length; i++)


Does anyone know how to specify this in config/config.php and pull that value into the above js file?

14
Uploaded .xlsx Excel 2007 file

File type encountered:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Fix - change:
og_project_file_revisions.type_string
varchar(50) -> varchar(256)

15
Older versions / Missing argument 3 for strpos_utf()
« on: April 15, 2009, 12:54:54 pm »
Error log full of:

[Wed Apr 15 15:29:42 2009] [error] [client 172.20.12.36] PHP Notice:  Undefined variable: offset in C:\\Web\\opengoo\\environment\\functions\\utf.php on line 49, referer: http://pcid1367.emea.local/opengoo/
[Wed Apr 15 15:29:42 2009] [error] [client 172.20.12.36] PHP Warning:  Missing argument 3 for strpos_utf(), called in C:\\Web\\opengoo\\application\\models\\searchable_objects\\SearchableObjects.class.php on line 107 and defined in C:\\Web\\opengoo\\environment\\functions\\utf.php on line 47, referer: http://pcid1367.emea.local/opengoo/

Pages: [1] 2