New projects are not shown on client

clemens.tolboom - April 8, 2008 - 09:23
Project:Case Tracker Services
Version:5.x-0.4-beta
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

When adding more project for a client on 'admin/settings/casetracker_services' at 'project access settings' the project tabs don't appear.

Reset menu's with devel.module shows the project.

#1

clemens.tolboom - April 8, 2008 - 09:26

Patch moves menu entries to !$may_cache and adds a drupal_set_message to notify that remote server is probed.

The latter is an indication we could cache the list of projects say every 5 minute? Not included yet.

AttachmentSize
casetracker_services_243987.patch 2.05 KB

#2

sime - April 10, 2008 - 02:27

Thanks Clemens, I'll be very interested in looking at this.

#3

clemens.tolboom - April 15, 2008 - 10:39
Version:5.x-1.x-dev» 5.x-0.4-beta
Priority:normal» critical

I raised the priority because having a site installed caasetracker_client but not granting a project on the server makes support from the client site useless. The menu items are already filled.

On one site I did a devel 'reset menus' which (logically) ruined :-/ the custom menu for that site.

So please apply the above patch by moving the menu items to the !$may_cache part and release a new version.

You could add a http://api.drupal.org/api/function/hook_update_N/5 for http://api.drupal.org/api/function/menu_rebuild/5 as a service for old users of your module. But the patch helps new users a lot.

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.