I am using a function to create metadata with postgres for geonetwork. The goal of the function is to automatically create a metadata with basic information. Moreover, when the data is modified, the metadata will automatically also be updated. The function works and the xml & other information appears in the metadata table in geonetwork.
The problem is when I try to create a new metadata, it doesn't appear in the geonetwork catalogue. All the information appears in the metadata table but not in the geonetwork interface. If I modify the xml directly in the metadata table, then the modification appears in the geonetwork catalogue... Also there are no error in the xml.
Anyone can help me?