SmartEditor 2.0.2 non functional "add", "remove" buttons for metadata redactor

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SmartEditor 2.0.2 non functional "add", "remove" buttons for metadata redactor

ikatinass
Hello,

I just recently noticed that SmartEditor 2.0.2 have non functional "add", "remove" buttons for metadata redactor Untitled.png

Is there a fast fix to that?

Sincerely,
Irmantas
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SmartEditor 2.0.2 non functional "add", "remove" buttons for metadata redactor

Kristian Senkler
Hi Irmantas,

well, these buttons are working, actually, you'll see it on the demo page: http://www.sdi-suite.de/smarteditor_52north

Please provide some log files, so I can check it out.

Regards,
Kristian

-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von ikatinass
Gesendet: Freitag, 31. August 2012 10:46
An: [hidden email]
Betreff: [Metadata] SmartEditor 2.0.2 non functional "add", "remove" buttons for metadata redactor

Hello,

I just recently noticed that SmartEditor 2.0.2 have non functional "add", "remove" buttons for metadata redactor http://metadata.forum.52north.org/file/n4011938/Untitled.png Untitled.png

Is there a fast fix to that?

Sincerely,
Irmantas



--
View this message in context: http://metadata.forum.52north.org/SmartEditor-2-0-2-non-functional-add-remove-buttons-for-metadata-redactor-tp4011938.html
Sent from the 52°North - Metadata Management Community Forum mailing list archive at Nabble.com.
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

ikatinass
Hello,

For Smarteditor-gpt-webapp v. 2 (and higher)  "add", "remove" buttons for metadata redactor are non functional. Non_functional.png You can try it out here: http://web.gis.lt/smarteditor216/startEditor.do

Our goal is to implement SmartEditor with "ArcGIS for Inspire Geoportal" and
"Conterra" - "License Manager", "Security Manager" and "Service Monitor". goal.png
We are always trying to use the lastest releases of these products, which consist of:
"ArcGIS for Inspire Geoportal v.  1.2.0"
"License Manager v. 4.1" , "Security Manager v. 4.1" and "Service Monitor v. 3.2"
For data storage we use "Microsoft SQL Server 2008 R2".

The problem is that ever since SmartEditor v. 2  "add", "remove" buttons for metadata redactor are nonfunctional. This can be seen soon after deploying smartEditor.war file into Tomcat Web Server, even before applying any configuration. Logs do not show anything of significance (INFO mode):
[INFO ] 2013-06-03 12:02:00,692 [http-8080-1] de.conterra.smarteditor.controller.StartEditorController - Templates initialized...
[INFO ] 2013-06-03 12:02:07,411 [http-8080-3] de.conterra.smarteditor.controller.StartEditorController - Initializing with new document
[INFO ] 2013-06-03 12:02:08,650 [http-8080-3] de.conterra.smarteditor.service.BackendManagerService - Backend successfully initialized
[INFO ] 2013-06-03 12:02:09,022 [http-8080-3] de.conterra.smarteditor.tiles.BodyViewPreparer - Tiles body definition not found. Using default one

Here is logs in "debug" mode smarteditor216-webapp.log

Thus we are using SmartEditor v. 1.3 which functioning as it should be, although we would prefer newest official release. Can you help us to figure out what is causing this?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

ikatinass
Any suggestions?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

Kristian Senkler
Hi there,

It seems to be a problem with the loading order of "Spring.js" and the "gpt.js" resources. I fixed the problem locally as follows:

In the file "\WEB-INF\jsp\elements\multiBox.jsp", remove the following section...

        <%-- geoportal 10 dependencies START --%>
        <link type="text/css" href="styles/gpt.css" rel="stylesheet"/>
        <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.0"></script>
        <script type="text/javascript" language="javascript" src="js/gpt/V10/gpt.js"></script>
        <script type="text/javascript" language="javascript" src="js/gpt/V10/mapFunctions.js"></script>
        <%-- geoportal 10 dependencies END --%>

...and paste it into "\WEB-INF\jsp\elements\header.jsp" right *before*  <%-- Spring Dojo import --%>. You shall end up with something like:

        <%-- geoportal 10 dependencies START --%>
        <link type="text/css" href="styles/gpt.css" rel="stylesheet"/>
        <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.0"></script>
        <script type="text/javascript" language="javascript" src="js/gpt/V10/gpt.js"></script>
        <script type="text/javascript" language="javascript" src="js/gpt/V10/mapFunctions.js"></script>
        <%-- geoportal 10 dependencies END --%>
         <%-- Spring Dojo import --%>
         <script type="text/javascript" src="<c:url value="/resources/dojo/dojo.js" />"> </script>
    <script type="text/javascript" src="<c:url value="/resources/spring/Spring.js" />"> </script>
    <script type="text/javascript" src="<c:url value="/resources/spring/Spring-Dojo.js" />"> </script>

Save the files, restart, give it another try.

In worked for me, please let me know how it looks at your side. If it's fine I will update the 52n SVN accordingly.

All the best,
Kristian

-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von ikatinass
Gesendet: Mittwoch, 5. Juni 2013 08:31
An: [hidden email]
Betreff: Re: [Metadata] Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

Any suggestions?



--
View this message in context: http://metadata.forum.52north.org/SmartEditor-2-0-2-non-functional-add-remove-buttons-for-metadata-redactor-tp4011938p4011951.html
Sent from the 52°North - Metadata Management Community Forum mailing list archive at Nabble.com.
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

ikatinass
Hello,

Yes it helped, thank you.
And to anyone who might follow this, there is a typo in Kristian's previous response "\WEB-INF\jsp\elements\header.jsp" is actually located in "\WEB-INF\jsp\header.jsp".

Irmantas
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

ikatinass
I don't know whether this is due to this fix, but now I have a problem trying to publish a metadata,
I received : "Invoker excpetion

The backend catalog service has responded with the following exception:
 
de.conterra.smarteditor.cswclient.exception.InvokerException: ; nested exception is: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"

This is happening for fixed 2.1.6 and never for until now used 1.3 version
here is logssmarteditor216-webapp.log
Any ideas?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

Kristian Senkler
Hi there,

this smarteditor was not able to verify the SAML ticket. Since a NullpointerException is thrown , I assume that you are not providing a SAML ticket at all. In that case try to remove the SAML interceptor in "dispatcher-servlet.xml". Or, if you are using a ticket, check the credentials in that interceptor (JKSPwd, path, etc).

Regards,
Kristian

-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von ikatinass
Gesendet: Mittwoch, 5. Juni 2013 15:50
An: [hidden email]
Betreff: Re: [Metadata] Smarteditor-gpt-webapp v. 2 (and higher) - non functional "add", "remove" buttons for metadata redactor

I don't know whether this is due to this fix, but now I have a problem trying to publish a metadata, I received : "Invoker excpetion

The backend catalog service has responded with the following exception:
 
de.conterra.smarteditor.cswclient.exception.InvokerException: ; nested exception is: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"

This is happening for fixed 2.1.6 and never for until now used 1.3 version here is logs smarteditor216-webapp.log <http://metadata.forum.52north.org/file/n4011954/smarteditor216-webapp.log>
Any ideas?




--
View this message in context: http://metadata.forum.52north.org/SmartEditor-2-0-2-non-functional-add-remove-buttons-for-metadata-redactor-tp4011938p4011954.html
Sent from the 52°North - Metadata Management Community Forum mailing list archive at Nabble.com.
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Loading...