.
Any input appreciated.
Cheers,
Robin.
On 05/02/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
It's possible the email notification plugin needs a little refreshing
since it was made
Probably some properties are not set properly before saving the object
Ludovic
Robin Fernandes a écrit :
Hi,
Is anyone comfortably running the email notification plugin?
I'm seing quite a lot of strange behaviour.
For example, if I understand correctly, the plugin is supposed to
programatically create a new class, and add an instance of that class
to the user's page when they first create a subscription.
Looking at the database after subscribing to a page, I can see some
new properties but they don't seem to be associated with any objects
(and they have an ID of 0, which I'm guessing isn't healthy):
select * from xwikiproperties order by abs(XWP_ID) desc;
+-------------+-------------------------------+--------------------------------------------+
| XWP_ID | XWP_NAME | XWP_CLASSTYPE
|
+-------------+-------------------------------+--------------------------------------------+
[...]
| -512550 | groups |
com.xpn.xwiki.objects.StringProperty |
| -512550 | levelsye |
com.xpn.xwiki.objects.StringProperty |
| -512550 | allow |
com.xpn.xwiki.objects.IntegerProperty |
| 0 | subscribedDocuments |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | subscribedWebs |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | schedulerName |
com.xpn.xwiki.objects.StringListProperty |
+-------------+-------------------------------+--------------------------------------------+
select XWO_NAME, XWO_ID from xwikiobjects where XWO_ID='0';
Empty set (0.00 sec)
Would we perhaps expect to see something like this if the call to
doc.addobject() is failing somewhere?
After manually adding an instance of the email notification object to
my user page things
seem to be working, so far.
Regards,
Robin
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic