The default GML link generated by the layer preview page uses WFS 1.0.0 as protocol and GML2 as output format, but this does not work for app-schema layers, since GML2 does not support complex features at all.
Clicking on the link results in a ServiceException response with the following error message:
Ideally, the generated GML link for app-schema layers should:
use WFS 1.1.0 as protocol
use either GML 3.1.1 or GML 3.2 as output format, depending on the schema
use the global OWS service instead of virtual services, to avoid problems accessing secondary namespaces
Pull request merged on master:
https://github.com/geoserver/geoserver/pull/1246
Stefano, I have left this open as I am not sure if you want to make some more changes (top-level-geometry-less GML links, backports). Please resolve this issue if you think it is done.
Ben, I addressed your question about the missing GML link for the GeologicUnit on GitHub. I will close the issue as soon as we are sure that question has been sorted out and I've done the backports.
Stefano solved the mystery of the missing GeologicUnit GML link:
https://github.com/geoserver/geoserver/pull/1246
I have now added a layer.xml for GeologicUnit and fixed the titles and abstracts for both types (neglected before as they never worked).
Backported to stable and maintenance.
Mass closing all resolved issues not modified in the last 4 weeks