Dear All,
In order to solve some issues I changed these files:
geonetwork/catalog/components/viewer/searchlayerformap/ SearchLayerForMapDirective.js
geonetwork/catalog/components/viewer/searchlayerformap/partials/searchlayerformap.html
geonetwork/catalog/components/metadataactions/RelatedDirective.js
geonetwork/catalog/components/metadataactions/partials/vim related.html
Every thing was fine but suddenly the system stopped to work with errors. I returned all the changes I have made to these files to the original version ( I am sure that nothing is wrong with these files, as I deleted them and replaced them with original files). Now the system still has the problem and does not work (the errors appear). I cleared catch using the debug mode, I also restarted tomcat. I do not know what to do to make it work as it did. Is there any way to make the system back to the last working version?
These are errors I get while trying to load home page.
catalog.search:21 GET http://10.2.0.37:8080/geonetwork/static/gn_search_default.js
lib.js:25 Uncaught Error: [$injector:nomod] http://errors.angularjs.org/1.5.2/$injector/nomod?p0=gn_search
at lib.js:25
at lib.js:44
at b (lib.js:43)
at Object.module (lib.js:43)
at catalog.search:22
(anonymous) @ lib.js:25
(anonymous) @ lib.js:44
b @ lib.js:43
(anonymous) @ lib.js:43
(anonymous) @ catalog.search:22
lib.js:25 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.2/$injector/modulerr?p0=gn_search_default&p1=Error%3A%20[%24injector%3Anomod]%20http%3A%2F%2Ferrors.angularjs.org%2F1.5.2%2F%24injector%2Fnomod%3Fp0%3Dgn_search_default
%20%20%20%20at%20http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A25%3A416
%20%20%20%20at%20http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A44%3A147
%20%20%20%20at%20b%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A43%3A211)
%20%20%20%20at%20http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A43%3A454
%20%20%20%20at%20http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A58%3A287
%20%20%20%20at%20p%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A26%3A355)
%20%20%20%20at%20g%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A58%3A135)
%20%20%20%20at%20db%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A62%3A164)
%20%20%20%20at%20c%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A39%3A463)
%20%20%20%20at%20xc%20(http%3A%2F%2F10.2.0.37%3A8080%2Fgeonetwork%2Fstatic%2Flib.js%3A40%3A274)
at lib.js:25
at lib.js:59
at p (lib.js:26)
at g (lib.js:58)
at db (lib.js:62)
at c (lib.js:39)
at xc (lib.js:40)
at be (lib.js:39)
at HTMLDocument.<anonymous> (lib.js:327)
at l (lib.js:8)
(anonymous) @ lib.js:25
(anonymous) @ lib.js:59
p @ lib.js:26
g @ lib.js:58
db @ lib.js:62
c @ lib.js:39
xc @ lib.js:40
be @ lib.js:39
(anonymous) @ lib.js:327
l @ lib.js:8
fireWith @ lib.js:8
ready @ lib.js:8
S @ lib.js:8
Best,
Samin Payro