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