[Building Sakai] Problem with disappearing toll configurations
juanarcadio at um.es
juanarcadio at um.es
Thu Jan 20 00:22:59 PST 2011
Hi,
We are also using 2.7.1. and I had a problem with disappearing tools in
a quartz job,
I get a list of sites of a specific site type using this:
/ List<Site> sites =
siteService.getSites(SiteService.SelectionType.ANY, type, null, null,
SiteService.SortType.NONE, null);/
For some sites in the list I modified and saved it.
Sometimes (Not always) I lost all the tools, in debug mode I realized
that siteService didn't load all the tools, and therefore, when I call
the save method the data were lost.
To solve it, I use getSite inside the loop.
/ List<Site> sites =
siteService.getSites(SiteService.SelectionType.ANY, tarea.getTipo(),
null, null, SiteService.SortType.NONE, null);
for (Site incomplete:sites) {
Site s = siteService.getSite(//incomplete//.getId());
...
/
Juan Arcadio Martinez.
Universidad de Murcia.
El 19/01/2011 19:43, Laurent Danet escribió:
> Hi
>
> I need some help. We tried to update tool configurations (properties)
> with a quartz job. (For example: in tool sakai.synoptic.announcement
> we set properties days to 31).
>
> But these configurations disappear. We have 4466 row in
> sakai_site_tool_property table in day 1, 2679 in day 4 and 2143 in
> day 8.
>
> We run sakai 2.7.1.
>
> Is there an explanation for this comportment ?
>
> Thanks for your help.
>
> Laurent
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110120/463e22b6/attachment.html
More information about the sakai-dev
mailing list