PagelistBug1


Here is a bug in pagelist, I think.

The problem appears in the instruction below, which returns a completely crazy list of pages.

(:pagelist group={$Group} fmt=#thisdoesnotexist count=10 :)
 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.20 FPLTemplate: Chain begin
 5: 00.21 00.20 FPLTemplate: FPLTemplateLoad
 6: 00.21 00.21 FPLTemplate: FPLTemplateDefaults
 7: 00.21 00.21 FPLTemplate: FPLTemplatePageList
 8: 00.21 00.21 MakePageList pre
 9: 00.21 00.21 PageListSources begin
10: 00.21 00.21 PageStore::ls begin wiki.d/{$FullName}
11: 00.22 00.21 PageStore::ls merge wiki.d/{$FullName}
12: 00.22 00.21 PageStore::ls end wiki.d/{$FullName}
13: 00.22 00.21 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
14: 00.22 00.21 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
15: 00.22 00.21 PageStore::ls end $FarmD/wikilib.d/{$FullName}
16: 00.23 00.22 PageListSources end count=1134
17: 00.23 00.22 PageListSort pre ret=4 order=name
18: 00.23 00.22 MakePageList items count=1134, filters=
19: 00.23 00.22 MakePageList post count=1134, readc=0
20: 00.23 00.22 PageListSort begin
21: 00.23 00.22 PageListSort sort
22: 00.24 00.23 PageListSort end
23: 00.24 00.23 MakePageList end
24: 00.24 00.23 FPLTemplate: FPLTemplatePmWikiOrg
25: 00.24 00.23 MarkupToHTML begin
26: 00.24 00.23 MarkupToHTML end
27: 00.24 00.23 FPLTemplate: FPLTemplateSliceList
28: 00.24 00.23 FPLTemplate: FPLTemplateFormat
29: 00.24 00.23 MarkupToHTML begin
30: 00.24 00.23 MarkupToHTML end
31: 00.24 00.23 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
32: 00.24 00.23 FPLTemplate: Chain end
33: 00.24 00.23 MarkupToHTML end
34: 00.25 00.24 MarkupToHTML end
35: 00.25 00.24 MarkupToHTML begin
36: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
37: 00.27 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
38: 00.27 00.26 MarkupToHTML end
39: 00.27 00.26 MarkupToHTML begin
40: 00.28 00.26 MarkupToHTML end
41: 00.28 00.27 now
Peak memory: 4,646,808 bytes