Item15171: installed applications are no longer listed
Priority: Normal
Current State: New
Released In: n/a
Target Release:
--
BramVanOosterhout - 08 Jan 2023
Hi Michael,
The installed wiki applications list in the Workbench
WebHome no longer works. there is a / to many in the regex in FLEXWEBLIST (line 13)
diff --git a/data/Applications/WebHome.txt b/data/Applications/WebHome.txt
index b6adac8..396436e 100644
--- a/data/Applications/WebHome.txt
+++ b/data/Applications/WebHome.txt
@@ -1,4 +1,4 @@
-%META:TOPICINFO{author="ProjectContributor" comment="" date="1485161807" format="1.1" version="1"}%
+%META:TOPICINFO{author="BaseUserMapping_333" comment="" date="1673137339" format="1.1" version="2"}%
Welcome to the %WEB% web.
This web contains a set of WikiApplications that can be used in
different parts of your wiki site. It is used as a
@@ -10,7 +10,7 @@ See the [[CompleteDocumentation]] to learn more about the !WikiWorkbench and all
%DBCALL{"RenderWikiApplicationFactory"}%
---++ Installed <nop>WikiApplications
-%FORMATLIST{"%FLEXWEBLIST{include="Applications/.*" format="$web;$name" separator=", "}%"
+%FORMATLIST{"%FLEXWEBLIST{include="Applications.*" format="$web;$name" separator=", "}%"
How do you want to proceed? (Modification Policy: Coordinate with Author)
On further investigation I find that:
include is matched against the list of webs in
working/work_areas/FlexWebListPlugin/webs.txt
That list has webs listed as:
Applications
Applications.DeleteMe
Applications.TestApp
Subwebs are delimited by
DOT not
slash
So the appropriate include should be:
include="Applications\..*"
"%FLEXWEBLIST{include="Applications\..*" format="$web;$name" separator=", "}%"
And the fix is:
diff --git a/data/Applications/WebHome.txt b/data/Applications/WebHome.txt
index b6adac8..ec54c56 100644
--- a/data/Applications/WebHome.txt
+++ b/data/Applications/WebHome.txt
@@ -1,4 +1,4 @@
-%META:TOPICINFO{author="ProjectContributor" comment="" date="1485161807" format="1.1" version="1"}%
+%META:TOPICINFO{author="BramVanOosterhout" comment="" date="1673669665" format="1.1" version="4"}%
Welcome to the %WEB% web.
This web contains a set of WikiApplications that can be used in
different parts of your wiki site. It is used as a
@@ -10,7 +10,7 @@ See the [[CompleteDocumentation]] to learn more about the !WikiWorkbench and all
%DBCALL{"RenderWikiApplicationFactory"}%
---++ Installed <nop>WikiApplications
-%FORMATLIST{"%FLEXWEBLIST{include="Applications/.*" format="$web;$name" separator=", "}%"
+%FORMATLIST{"%FLEXWEBLIST{include="Applications\..*" format="$web;$name" separator=", "}%"
pattern="(.*);(.*)"
format=" 1 [[$1.WebHome]]: $percntVAR{\"WEBSUMMARY\" web=\"$1\"}$percnt"
separator="$n"
How do you want to proceed?
--
BramVanOosterhout - 14 Jan 2023