In line 340 of stormticket.module there is

$project_access = $node->project_nid ? stormproject('view', $node->project_nid) : TRUE;

which should be

$project_access = $node->project_nid ? stormproject_access('view', $node->project_nid) : TRUE;
CommentFileSizeAuthor
#1 stormticket.module.patch1.11 KBMagnity

Comments

Magnity’s picture

Title: stormproject is an undefined funtion » stormproject is an undefined function
Version: 6.x-1.x-dev » 6.x-1.28
Status: Active » Fixed
StatusFileSize
new1.11 KB

This bug has unfortunately been introduced into the stable release 6.x-1.28.

It has now been fixed in the development release.

Those people updating to 6.x-1.28 should make the change above, or apply the patch attached here (same change, different format).

Magnity’s picture

This also affects:
- stormtimetracking.module
- stormnote.module
- stormexpense.module
(same fix)

Same advice as in the release notes of 6.x-1.28:

This is a bug that is introduced in 6.x-1.28, so if you're happy to edit those files then upgrade and patch. If not, then wait for the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dbt102’s picture

Version: 6.x-1.28 » 6.x-1.29
Component: Storm Ticket » Storm Timetracking
Status: Closed (fixed) » Active

In line 303 of stormtimetracking.module there is

$project_access = $node->project_nid ? stormproject('view', $node->project_nid) : TRUE;

which should be

$project_access = $node->project_nid ? stormproject_access('view', $node->project_nid) : TRUE;

and then in line 304 of stromtimetracking module there is

$task_access = $node->task_nid ? stormtask('view', $node->task_nid) : TRUE;

which should be

$task_access = $node->task_nid ? stormtask_access('view', $node->task_nid) : TRUE;

Magnity’s picture

Status: Active » Fixed

That's fixed now. Thought it had been already, but obviously I didn't get all of the occurences of it in the file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.