Issue Details (XML | Word | Printable)

Key: GDS-149
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Franck Wolff
Reporter: zhong shigang
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GraniteDS

not use override in subclass' uid and use parent's private attribute _id directly

Created: 30/Jul/08 04:10 AM   Updated: 06/Aug/08 01:17 PM   Resolved: 06/Aug/08 01:17 PM
Component/s: EJB3 Services
Affects Version/s: 1.1.0_RC3
Fix Version/s: 1.1.0_RC4

Environment: windows xp sp2,flex builder 3,gas3 1.1.0_rc3
Issue Links:
Duplicate
 


 Description  « Hide
gas3 generates following code with two error,error code are 1024 and 1178,CurrentWorkBase extends Work
        public function set uid(value:String):void {
            // noop...
        }
        public function get uid():String {
            if (isNaN(_id))
                return "cn.eduinfo.entity.CurrentWork";
            return "cn.eduinfo.entity.CurrentWork:" + String(_id);
        }
it should add override and change _id to id

Franck Wolff added a comment - 30/Jul/08 11:28 AM
Could you give us more informations about your class hierarchy? Is your Work class generated by gas3?

Franck Wolff added a comment - 06/Aug/08 01:17 PM
See GDS-150.