[Geoserver-devel] [jira] (GEOS-5835) Cannot unset WMS logo attribution

Jonathan Moules created ImprovementGEOS-5835
Cannot unset WMS logo attribution

Issue Type:

ImprovementImprovement

Affects Versions:

2.3.2

Assignee:

Andrea Aime

Components:

UI

Created:

30/May/13 11:07 AM

Description:

To see what it did, I had set a WMS logo attribution, including the width/height/type auto-detected.
But when I try to unset it (I don’t want it), by deleting the values I get a Java error:

org.apache.wicket.util.convert.ConversionException: Can’t convert null value to a primitive class: int for setting it on AttributionInfoImpl[© Crown Copyright and database right 2013. Ordnance Survey 100019520.]
at org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(PropertyResolver.java:1121)
at org.apache.wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(PropertyResolver.java:588)
at org.apache.wicket.util.lang.PropertyResolver.setValue(PropertyResolver.java:136)
at org.apache.wicket.model.AbstractPropertyModel.setObject(AbstractPropertyModel.java:169)
at org.apache.wicket.Component.setDefaultModelObject(Component.java:3125)
at org.apache.wicket.markup.html.form.FormComponent.updateModel(FormComponent.java:1168)
at org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component(Form.java:229)
at org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:514)

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)