-
-
Notifications
You must be signed in to change notification settings - Fork 489
ValidationReport
Date | Jan 28 2014 | Contacts | Jesse Eichar |
Status | In Progress | Release | 2.12 |
Resources | available | Ticket # | https://github.com/geonetwork/core-geonetwork/issues/369 |
Source code | TDBD | ||
Funding | Camptocamp |
In the current version GeoNetwork, if a user wants to find the status of metadata, the user has to do a search for valid or non-valid metadata. This however only shows if a metadata is considered valid or invalid, not the status of the various "types" of validations (schematron sets.) To be able to see the which schematrons pass or fail, one has to go into the metadata and view them one at a time (a very time consuming process.)
This proposed change would allow a user to select several metadata and then do a "special" search which displays the selected metadata in the search view with the validation status of each schematron file in each search result.
Two other possible solutions are (we will have a discussion to determine which solution the community prefers):
- Add a checkbox/selector in the UI which allows the user to set if the validation status should be displayed in the results. A user would be able to do a search then toggle the selector and all the validation statuses would be shown (without needing to do a search). Additionally if the selector is enabled when a user does the search the validation status will be displayed without user intervention.
- Modify the search results so that each search result has an expandable section containing the validation status of the metadata it represents. A user would simply expand a result to see the status.
The two options could be combined so that both workflows work depending on the user's desire.
The advantage of these alternative solutions is that the user would not need to first select the data before being able to view the validation statuses of the metadata in question. The disadvantage is that the user does not get a "report" of all the metadata he/she is interested in in a single view/search.
Note: This option is only available to users that are logged in, keeping the basic user's interface clean.
There are two parts needed for this change:
The dump fields in config-lucene.xml would need to be modified to return all the schematron validation statuses in response to search requests.
The translated titles for the schematrons need to be added to the strings downloaded by search UI. (So the UI can display them)
In the case where a special search is required to display all the selected metadata, the "q" (XmlSearch) service will need to be modified to have an option to return only the selected metadata.
The search result template needs to be modified so that there is an optional section that will be displayed when the show validation status flag is set.
In the first proposal, where the selected metadata are shown in a search, an action will be added to the "Other Actions" which will trigger this special search.
If the validation status is to be shown dynamically by toggling a Show Validation toggle, then an option will be added to the UI to show the status. When this option is enabled the hidden template section can be displayed without needing to perform a new search since the information is present in every search.
- Type: Search UI
- Module: web-ui
- Vote Proposed: TBA
- All
If you have some comments, start a discussion, raise an issue or use one of our other communication channels to talk to us.