Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2121

Unable to edit existing default "Unknown Location" nor able to add new Location.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • TBD
    • Resolution: Duplicate
    • OpenMRS 1.9.0
    • None
    • None
    • Undetermined

    Description

      Version: 1.9.0 SNAPSHOT Build 18746
      When tried to edit existing default location got the following error :
      An error has occurred!
      The following error happened somewhere on this page:
      javax.servlet.jsp.JspException: org.springframework.beans.NotReadablePropertyException: Invalid property 'startDate' of bean class [org.openmrs.Location]: Bean property 'startDate' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

      (The full error stack trace output is in the source of this page.)

      Snapshot of corresponding error dump in log :

      ERROR - RequestContextAwareTag.doStartTag(86) |2011-03-18 22:43:33,985| Invalid property 'startDate' of bean class [org.openmrs.Location]: Bean property 'startDate' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
      org.springframework.beans.NotReadablePropertyException: Invalid property 'startDate' of bean class [org.openmrs.Location]: Bean property 'startDate' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
      at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:674)
      at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:666)
      at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:96)
      at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:224)
      at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:120)
      at org.springframework.web.servlet.tags.BindTag.doStartTagInternal(BindTag.java:119)
      at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)
      at org.apache.jsp.WEB_002dINF.view.portlets.addressLayout_jsp._jspService(addressLayout_jsp.java:970)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      ...

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                avadhavkar A Vadhavkar [X] (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: