[
http://jira.xwiki.org/jira/browse/XWIKI-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergiu Dumitriu closed XWIKI-1624.
----------------------------------
Resolution: Cannot Reproduce
Assignee: Sergiu Dumitriu
Cannot reproduce this in trunk.
> After deleting a page XWikiDocument.java's getObjectNumbers() returns the
> wrong value if the page is still cached
> -----------------------------------------------------------------------------------------------------------------
>
> Key: XWIKI-1624
> URL: http://jira.xwiki.org/jira/browse/XWIKI-1624
> Project: XWiki Core
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1 M4
> Reporter: David Ward
> Assigned To: Sergiu Dumitriu
>
> If a page containing objects is deleted, the method getObjectNumbers(String
> classname) may return a wrong value (instead of 0) as the vector used may
> null elements after the delete of the page (if still in the cache) which are
> counted in the returned value.
> Test case:
> 1. Create a page containing objects
> 2. Delete the page
> 3. Examine the values of the following (replacing PAGE_NAME and OBJECT_CLASS
> as appropriate)
> $xwiki.getDocument("PAGE_NAME").getObjectNumbers("OBJECT_CLASS")
> $xwiki.getDocument("PAGE_NAME").getObjects("OBJECT_CLASS")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications