Skip to content

config:app-info() does not list dependencies in attributes #152

Open
@tgraham-antenna

Description

@tgraham-antenna

Moved from eXist-db/exist#1311:

What is the problem

The default index.html includes <div data-template="config:app-info"/>. That is supposed to generate "a table showing all properties defined in the application descriptors." However, <dependency> (and <permissions>) has attributes, and they don't show.

What did you expect

The dependency information.

This can be fixed by outputting all attributes (except password attributes):

Index: modules/config.xqm
===================================================================
--- modules/config.xqm	(revision 27934)
+++ modules/config.xqm	(working copy)
@@ -89,7 +89,7 @@
                 return
                     <tr>
                         <td>{node-name($attr)}:</td>
-                        <td>{$attr/string()}</td>
+                        <td>{$attr/string()}{string-join($attr/@* except $attr/@password, ' ')}</td>
                     </tr>
             }
             <tr>

Context information

  • eXist-db version + Git Revision hash : eXist-db 3.0 / acd0c14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions