Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
1.0 B1
-
None
Description
wrapDocs assumes that the received list contains only XWikiDocuments-s. A better behavior would be:
- an XWikiDocument is wrapped in an api.Document
- an api.Document is returned as is
- a valid document name is transformed into an wrapped document
- all other types of elements are discarded