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.20 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.20 FPLTemplate: FPLTemplateDefaults
 7: 00.21 00.20 FPLTemplate: FPLTemplatePageList
 8: 00.21 00.20 MakePageList pre
 9: 00.21 00.20 PageListSources begin
10: 00.21 00.20 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.22 00.21 PageListSources end count=1131
17: 00.22 00.21 PageListSort pre ret=4 order=name
18: 00.22 00.21 MakePageList items count=1131, filters=
19: 00.22 00.21 MakePageList post count=1131, readc=0
20: 00.22 00.21 PageListSort begin
21: 00.22 00.21 PageListSort sort
22: 00.23 00.22 PageListSort end
23: 00.23 00.22 MakePageList end
24: 00.23 00.22 FPLTemplate: FPLTemplatePmWikiOrg
25: 00.23 00.22 MarkupToHTML begin
26: 00.24 00.22 MarkupToHTML end
27: 00.24 00.22 FPLTemplate: FPLTemplateSliceList
28: 00.24 00.22 FPLTemplate: FPLTemplateFormat
29: 00.24 00.22 MarkupToHTML begin
30: 00.24 00.22 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.24 00.23 MarkupToHTML end
35: 00.25 00.23 MarkupToHTML begin
36: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
37: 00.26 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
38: 00.26 00.25 MarkupToHTML end
39: 00.26 00.25 MarkupToHTML begin
40: 00.27 00.25 MarkupToHTML end
41: 00.27 00.25 now
Peak memory: 4,711,176 bytes