#275: Image not showing
----------------------------------+-----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: minor | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Keywords: |
----------------------------------+-----------------------------------------
See screenshot. In RC1 (wasn't in RC0) to the left of each item of
metadata, either in the result or when using metadata.show, there's an
"image" box where the browser can't find the image it's supposed to find.
This is true for your "example metadata", as well as my own metadata.
Inspecting the element show's it's looking for something like:
"/geonetwork/images/logos/b0314262-bccc-40df-b08a-c997fda81598.gif"
The logos directory only has two item in and one of them is my own (a new
logo). In RC0 it would point to the "dummy" logo. It's not actually clear
what this image is supposed to represent or where you'd edit the URL to
it.
Screenshot attached.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
----------------------------------+-----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: minor | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Keywords: |
----------------------------------+-----------------------------------------
Comment(by Fxp):
To be tested on the installer
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:1>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: minor | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Resolution: worksforme | Keywords:
-----------------------------------+----------------------------------------
Changes (by josegar74):
* status: new => closed
* resolution: => worksforme
Comment:
Tested RC1 installer and the display of logo image seem ok
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:2>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: trivial | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by osjonathan):
* priority: minor => trivial
* status: closed => reopened
* resolution: worksforme =>
Comment:
My current "install" was by downloading the 2.6.0RC1 "geonetwork.war" (
http://sourceforge.net/projects/geonetwork/files/GeoNetwork%20unstable%20development%20versions/v2.6.0RC1/geonetwork.war/download
) and extracting it to my jetty web directory (which came as a result of
installing 2.6.0RC0 using the installer - "geonetwork-
install-2.6.0-RC0.exe" ).
I've just downloaded the installer and sure enough, the logo works.
BUT if I then remove the geonetwork/geoserver directories that come with
the full installer and copy over the separate geonetwork.war file that
I've just re-downloaded separately, the bug is re-evident (the logo's
don't show).
So the bug is real, it's just restricted to the geonetwork.war release.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:3>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: trivial | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment(by josegar74):
Hi
I think you're using an external database to store the metadata. In that
case is normal about the logo due to this:
The geonetwork of installer generated a site-id (b0314262-bccc-40df-b08a-
c997fda81598) and the metadata you created got this site-id , that also is
used in the logo image name. You can check the metadata table (source
column) and the sources table.
But when you replace geonetwork application with the one in war file, i
think a new site-id was created for geonetwork (that's correct behaviour).
So the problem is that source column of metadata table refers to old site-
id. You can update the column directly in database setting new site-id
and should be shown the logo correctly.
Also GAST has a migration option, but in this case you need to have both
the old an new installations and i think it manages about updating the
source for metadata.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:4>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: trivial | Milestone: v2.6.0 RC2
Component: User interface (web) | Version: v2.6.0RC1
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment(by osjonathan):
Hi Jose,
I think I get what's going on but am still slightly confused. I infer from
your reply that the site-id changes between installs. So how come the
data/logo combination for rc0 works with rc1 when the installer is used
(despite my not migrating the data), yet when I simply copy the .war file
in, it doesn't work?
The other thing I don't get is - why does the dummy logo need to have a
unique ID with it? I imagine it may relate to harvesting (just a guess),
but then can't it just use dummy.gif if the ISHARVESTED is "n"? It just
adds an extra step to the update process otherwise.
Also, the .war file only comes with the "dummy.gif" logo file. And yes,
I'm using an external database (Oracle).
Hope I'm not being too obtuse.
Jonathan
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:5>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: trivial | Milestone: v2.6.0
Component: User interface (web) | Version: v2.6.0RC1
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment(by zoerb):
I was also having problems with this, and have similar questions. So
there's no easier way to migrate the data between sites, without breaking
the logos? I'm also using an external Oracle database.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:6>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#275: Image not showing
-----------------------------------+----------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: critical | Milestone: v2.6.0
Component: User interface (web) | Version: v2.6.0RC1
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by ticheler):
* priority: trivial => critical
Comment:
The code will need to be checked to ensure a server UUID is not
overwritten when it already exists in the DBMS upon installation of a new
geonetwork.war file
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/275#comment:7>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.