Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-2006, 11:47 AM
New Member
 
Posts: 4
Default Problem reenabling zimlets

Hi all,
I'm trying to get a better understanding of zimlets and how they're deployed in Zimbra; I disabled all the zimlets in the distribution using the command line (to have a clean environment for zimlet creation). I am now trying to reactivate all zimlets again... but some refuse to appear. The wikipedia zimlet panel item doesnt' reappear, even when re-enabled (according to listZimlets). Also, the "search" zimlet panel item reappears, but doesnt do anything when clicked.

Also, how does the <tooltip> tag work? Mousing over on top of panel items doesn't yield the expected tooltip even with the tags in place.

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-22-2006, 01:55 PM
Zimbra Employee
 
Posts: 4,792
Default

Move to new Zimlet's Forum...

Are you restarting after turning on/off zimlets? We cache the COS data so you'll need to bounce tomcat to clear that. You'll also then need to login again so your user will load the latest Zimlet list.

The search Zimlet doesn't have a single-click action. Just a right-click action to bring up a menu of search options.

Tooltip was not being passed to the UI in the current release. It's fixed in our mainline so that will be working in a upcoming release. Feel free to put some text in there on your Zimlets, since it will show-up once you upgrade.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 02-22-2006, 10:52 PM
Junior Member
 
Posts: 9
Default

I've managed to redeploy zimlets but did see a couple of issues that I'd like to share:

1) Once a zimlet is deployed, you cannot undeploy and then redeploy it (they should be symmetrical operations, right?).
Code:
$ zmzimletctl deploy com_my_zimlet.zip
INFO: Installing ...
$ zmzimletctl undeploy com_my_zimlet
INFO: Uninstalling...
INFO: Removing ...
$ tomcat restart
...
$ zmzimletctl deploy com_my_zimlet.zip
...
Error: cannot update Zimlet config for com_my_zimlet : system failure: unable to modify attrs
To re-deploy, I had to re-grant the acl, then enable the zimlet, and finally re-deploy it.

2) zmzimletctl uninstall isn't listed in the zmzimletctl help.

On to some development for me!
Reply With Quote
  #4 (permalink)  
Old 02-23-2006, 07:33 AM
Zimbra Employee
 
Posts: 4,792
Default

1) Did you increase the version in the <zimlet>.xml file?

2) Can you file a bug in http://bugzilla.zimbra.com ?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 02-23-2006, 09:08 AM
Junior Member
 
Posts: 9
Default

1. I didn't increase the version # in my original attempts. After increasing it, I got the same result.

2. Created bug 6182

Forgot to mention this is on 3.0.1 in my original post.
Reply With Quote
  #6 (permalink)  
Old 02-23-2006, 09:40 AM
Zimbra Employee
 
Posts: 4,792
Default

1) Did you try to just bump the version and call deploy again? This is how I install mine via some ANT short cuts I've got in the build.xml file.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 02-23-2006, 08:30 PM
Junior Member
 
Posts: 9
Default

Thanks for the tip. Now I see the INFO: Upgrading Zimlet to <version> msg after deploying it, which is reassuring.

That is really what I needed--the ability to test zimlet updates easily. I did notice though that panel updates (simply changed the name) don't seem to happen after bumping the version. If it happens again, I'll post a msg.
Reply With Quote
  #8 (permalink)  
Old 02-23-2006, 10:16 PM
Zimbra Employee
 
Posts: 4,792
Default

You still may need a tomcat restart in there for some things that are cached.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.