OBEROn - Bug Trace - Oberon Platform
Viewing Issue Advanced Details
74 Java SDK major always 2012-04-21 23:15 2012-05-05 22:51
g_prajeesh  
 
high  
closed 2.6 - DB build 0065  
fixed  
none    
none 2.6 - DB build 0065  
0000074: Menu FromXML API is working strange
I am executing the OOQL as follows
<code>
String ooql ="menu show 'mymenu' get{name label ownchild.{name label href access}} token xml;"
Menu menu = menu.fromXML(JRClient.parseXML(JRClient.perofrmOOQL(ooql,session));

I have a menu structure like this

MainMenu
     SubMenu1
        SubMenu1-Sub
    SubMenu2
       SubMenu2-Sub

The result for menu.getName() I am getting SubMenu1
Issue History
2012-04-21 23:15 g_prajeesh New Issue
2012-05-05 22:51 administrator Note Added: 0000140
2012-05-05 22:51 administrator Status new => closed
2012-05-05 22:51 administrator Resolution open => fixed
2012-05-05 22:51 administrator Fixed in Version => 2.6 build 0065

Notes
(0000140)
administrator   
2012-05-05 22:51   
Please use:

String ooql ="menu show 'mymenu' token xml;"
Menu menu = menu.fromXML(JRClient.parseXML(JRClient.performOOQL(ooql,session));