Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006268 [Resin] minor always 07-17-19 14:04 07-17-19 14:09
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.62
Summary 0006268: JSP EL foo.bar expression with get() and getBar()
Description (rep by Mitsuo Shimomura)

When trying to show class property value which has get method, an error will occur.
For example, assume that Customer class has “get” method, name property and its getter and setter.


    public Customer {
        private String name;
        public String getName() { return name; }
        public void setName(String name) { this.name = name; }
        public String get() { return "any"; }
    }


In this case, when writing ${customer.name} to jsp, an error will occur.

If it has “get” method from the code below, propName will become “”. Then empty propName will be passed to new BeanProperty(baseClass, propName, method, null), name of new PropertyDescriptor(name, getter, setter) is empty and exception will be thrown.
Additional Information
Attached Files

- Relationships

- Notes
(0006908)
ferg
07-17-19 14:09

jsp/325c
 

- Issue History
Date Modified Username Field Change
07-17-19 14:04 ferg New Issue
07-17-19 14:09 ferg Note Added: 0006908
07-17-19 14:09 ferg Assigned To  => ferg
07-17-19 14:09 ferg Status new => closed
07-17-19 14:09 ferg Resolution open => fixed
07-17-19 14:09 ferg Fixed in Version  => 4.0.63


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker