[GeoNetwork-devel] new metadata link me to home

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.

Hi,

When adding a new schema_plugin you can do it via a file manager but that requires a restart of the geonetwork instance. (and maybe editing the /config/schemaplugin-uri-catalog.xml file)

If you upload via the UI, you can verify that it worked by looking in the /config/schema_plugins folder and verifying that the new schema plugin folder is there. You will also need to check the /config/schemaplugin-uri-catalog.xml file to ensure the plugin is registered.

The final check you can make is put :

http://localhost:8080/geonetwork/srv/eng/find!

into your browser and find the schemalist tag. (I think that is available in 2.10.x) It should contain all the schemas available on the system.

Regarding new metadata. If you have one of the new UIs configured (and you do by default). The New Metadata option will take you to the home UI and it should open a dialog allowing you to create a new metadata. If there is a problem check the browser developer tools for errors.

Also remember that you need templates for the schema_plugin which you can import metadata to upload or put in the schema_plugin’s template directory.

Jesse

···

On Sat, May 17, 2014 at 4:32 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse,

thank you for your hints.
I understand the steps to include a new metadata-schema.

As I wrote, I imported the new metadata-schema uploading it with the UI.
Just to specify I’m using the classic UI.

The link http://localhost:8080/geonetwork/srv/eng/find
you suggested doesn’t work fine, since it forward me to a log-in page again.

Sorry Jesse, but it is not clear yet the reason why clicking on ‘new metadata’ (logged as admin)
I’m forwarded in the home page. Normally I should be forwarded in the ‘metadata.create.form’.
That’s dosen’t happen any more since I inserted the new metadata-schema.

What do you suggest? Why the code seems to be corrupted?

Regards

Eugenio


From: jesse.eichar@anonymised.com
Date: Mon, 19 May 2014 05:54:04 +0200
Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

Hi,

When adding a new schema_plugin you can do it via a file manager but that requires a restart of the geonetwork instance. (and maybe editing the /config/schemaplugin-uri-catalog.xml file)

If you upload via the UI, you can verify that it worked by looking in the /config/schema_plugins folder and verifying that the new schema plugin folder is there. You will also need to check the /config/schemaplugin-uri-catalog.xml file to ensure the plugin is registered.

The final check you can make is put :

http://localhost:8080/geonetwork/srv/eng/find!

into your browser and find the schemalist tag. (I think that is available in 2.10.x) It should contain all the schemas available on the system.

Regarding new metadata. If you have one of the new UIs configured (and you do by default). The New Metadata option will take you to the home UI and it should open a dialog allowing you to create a new metadata. If there is a problem check the browser developer tools for errors.

Also remember that you need templates for the schema_plugin which you can import metadata to upload or put in the schema_plugin’s template directory.

Jesse

On Sat, May 17, 2014 at 4:32 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

If you are using the classic UI them I suppose there must be a setting (probably in config-gui.xml) to control what happens when the new Metadata button is clicked. I have not used the classic UI since 2.6.x so I am not familiar with all the settings.

The reason that new Metadata forwards to home is because the new UIs both have custom New Metadata user interfaces. However since you are using the classic UI then you need to disable that. Hopefully the settings is in the docs or obvious if you look at the config-gui.xml file.

Jesse

···

On Mon, May 19, 2014 at 10:24 AM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hi Jesse,

thank you for your hints.
I understand the steps to include a new metadata-schema.

As I wrote, I imported the new metadata-schema uploading it with the UI.
Just to specify I’m using the classic UI.

The link http://localhost:8080/geonetwork/srv/eng/find
you suggested doesn’t work fine, since it forward me to a log-in page again.

Sorry Jesse, but it is not clear yet the reason why clicking on ‘new metadata’ (logged as admin)
I’m forwarded in the home page. Normally I should be forwarded in the ‘metadata.create.form’.
That’s dosen’t happen any more since I inserted the new metadata-schema.

What do you suggest? Why the code seems to be corrupted?

Regards

Eugenio


From: jesse.eichar@anonymised.com
Date: Mon, 19 May 2014 05:54:04 +0200
Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

Hi,

When adding a new schema_plugin you can do it via a file manager but that requires a restart of the geonetwork instance. (and maybe editing the /config/schemaplugin-uri-catalog.xml file)

If you upload via the UI, you can verify that it worked by looking in the /config/schema_plugins folder and verifying that the new schema plugin folder is there. You will also need to check the /config/schemaplugin-uri-catalog.xml file to ensure the plugin is registered.

The final check you can make is put :

http://localhost:8080/geonetwork/srv/eng/find!

into your browser and find the schemalist tag. (I think that is available in 2.10.x) It should contain all the schemas available on the system.

Regarding new metadata. If you have one of the new UIs configured (and you do by default). The New Metadata option will take you to the home UI and it should open a dialog allowing you to create a new metadata. If there is a problem check the browser developer tools for errors.

Also remember that you need templates for the schema_plugin which you can import metadata to upload or put in the schema_plugin’s template directory.

Jesse

On Sat, May 17, 2014 at 4:32 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse,

you are right!
I didn’t remember that I changed an option inside the tag ‘client’ in the config-gui.xml

Now it’s all ok.

Actually I would like to try the new UI, I remember we talked about it briefly in IRC channel.
My aim could be to test the new UIs with my user to see which one they prefer, I mean which is the
most user friendly.

Are those the lines to un-comment to change the UI in the config-gui.xml?

Or the UI has to be chose in another config file?

Thanks a lot

Eugenio


From: jesse.eichar@anonymised.com…189…
Date: Mon, 19 May 2014 10:33:33 +0200
Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

If you are using the classic UI them I suppose there must be a setting (probably in config-gui.xml) to control what happens when the new Metadata button is clicked. I have not used the classic UI since 2.6.x so I am not familiar with all the settings.

The reason that new Metadata forwards to home is because the new UIs both have custom New Metadata user interfaces. However since you are using the classic UI then you need to disable that. Hopefully the settings is in the docs or obvious if you look at the config-gui.xml file.

Jesse

On Mon, May 19, 2014 at 10:24 AM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hi Jesse,

thank you for your hints.
I understand the steps to include a new metadata-schema.

As I wrote, I imported the new metadata-schema uploading it with the UI.
Just to specify I’m using the classic UI.

The link http://localhost:8080/geonetwork/srv/eng/find
you suggested doesn’t work fine, since it forward me to a log-in page again.

Sorry Jesse, but it is not clear yet the reason why clicking on ‘new metadata’ (logged as admin)
I’m forwarded in the home page. Normally I should be forwarded in the ‘metadata.create.form’.
That’s dosen’t happen any more since I inserted the new metadata-schema.

What do you suggest? Why the code seems to be corrupted?

Regards

Eugenio


From: jesse.eichar@anonymised.com
Date: Mon, 19 May 2014 05:54:04 +0200
Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

Hi,

When adding a new schema_plugin you can do it via a file manager but that requires a restart of the geonetwork instance. (and maybe editing the /config/schemaplugin-uri-catalog.xml file)

If you upload via the UI, you can verify that it worked by looking in the /config/schema_plugins folder and verifying that the new schema plugin folder is there. You will also need to check the /config/schemaplugin-uri-catalog.xml file to ensure the plugin is registered.

The final check you can make is put :

http://localhost:8080/geonetwork/srv/eng/find!

into your browser and find the schemalist tag. (I think that is available in 2.10.x) It should contain all the schemas available on the system.

Regarding new metadata. If you have one of the new UIs configured (and you do by default). The New Metadata option will take you to the home UI and it should open a dialog allowing you to create a new metadata. If there is a problem check the browser developer tools for errors.

Also remember that you need templates for the schema_plugin which you can import metadata to upload or put in the schema_plugin’s template directory.

Jesse

On Sat, May 17, 2014 at 4:32 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

If I remember right you should only need to update the config-gui.xml to try out the other 2 new UIs.

Let me know what errors you are experiencing because we use both in production.

Jesse

···

On Mon, May 19, 2014 at 10:51 AM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hi Jesse,

you are right!
I didn’t remember that I changed an option inside the tag ‘client’ in the config-gui.xml

Now it’s all ok.

Actually I would like to try the new UI, I remember we talked about it briefly in IRC channel.
My aim could be to test the new UIs with my user to see which one they prefer, I mean which is the
most user friendly.

Are those the lines to un-comment to change the UI in the config-gui.xml?

Or the UI has to be chose in another config file?

Thanks a lot

Eugenio


From: jesse.eichar@anonymised.com
Date: Mon, 19 May 2014 10:33:33 +0200

Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

If you are using the classic UI them I suppose there must be a setting (probably in config-gui.xml) to control what happens when the new Metadata button is clicked. I have not used the classic UI since 2.6.x so I am not familiar with all the settings.

The reason that new Metadata forwards to home is because the new UIs both have custom New Metadata user interfaces. However since you are using the classic UI then you need to disable that. Hopefully the settings is in the docs or obvious if you look at the config-gui.xml file.

Jesse

On Mon, May 19, 2014 at 10:24 AM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hi Jesse,

thank you for your hints.
I understand the steps to include a new metadata-schema.

As I wrote, I imported the new metadata-schema uploading it with the UI.
Just to specify I’m using the classic UI.

The link http://localhost:8080/geonetwork/srv/eng/find
you suggested doesn’t work fine, since it forward me to a log-in page again.

Sorry Jesse, but it is not clear yet the reason why clicking on ‘new metadata’ (logged as admin)
I’m forwarded in the home page. Normally I should be forwarded in the ‘metadata.create.form’.
That’s dosen’t happen any more since I inserted the new metadata-schema.

What do you suggest? Why the code seems to be corrupted?

Regards

Eugenio


From: jesse.eichar@anonymised.com
Date: Mon, 19 May 2014 05:54:04 +0200
Subject: Re: [GeoNetwork-devel] new metadata link me to home
To: frippe12573@anonymised.com
CC: geonetwork-devel@lists.sourceforge.net

Hi,

When adding a new schema_plugin you can do it via a file manager but that requires a restart of the geonetwork instance. (and maybe editing the /config/schemaplugin-uri-catalog.xml file)

If you upload via the UI, you can verify that it worked by looking in the /config/schema_plugins folder and verifying that the new schema plugin folder is there. You will also need to check the /config/schemaplugin-uri-catalog.xml file to ensure the plugin is registered.

The final check you can make is put :

http://localhost:8080/geonetwork/srv/eng/find!

into your browser and find the schemalist tag. (I think that is available in 2.10.x) It should contain all the schemas available on the system.

Regarding new metadata. If you have one of the new UIs configured (and you do by default). The New Metadata option will take you to the home UI and it should open a dialog allowing you to create a new metadata. If there is a problem check the browser developer tools for errors.

Also remember that you need templates for the schema_plugin which you can import metadata to upload or put in the schema_plugin’s template directory.

Jesse

On Sat, May 17, 2014 at 4:32 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:

Hello everybody,

I’m working with geonetwork 2.10.3 installed in tomcat6 deploying the war version.
Tomcat6 is running on ubuntu server 12.04 lts.

Today I was working on adding metadata-schema.
Firstly I added, manually, a schema but I got problem. For manually
I mean upload the metadata schema directory with a file manager outside geonetwork.

Then, when I realised that it doesn’t work, I removed the uploaded dir.

So I used the uploader inside of geonetwork: ‘Add a metadata schema/profile’.
Now I’m able to see my new metadata-schema, but
clicking on ‘new metadata’ the link seem to be modified, in fact the link
forward me to the home page.

How can I solve this problem?

Originally ‘new metadata’ is linked to /geoserver/srv/en/metadata.create.form
but I cannot find the page:

/geonetwork/srv/eng/admin

where the link seems to be stored, to modify it.

Can anybody help me?

Regards

E.


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork