• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

it seem have a little question at SecurityCommon -> loadRoles()

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it seem have a little question

SecurityCommon -> loadRoles() ->

/*
sql = SELECT r.role_id, r.name, rv.role_value, rv.role_type AS rv_type, r.role_type \
FROM jforum_roles r, jforum_role_values rv \
WHERE rv.role_id(+) = r.role_id AND r.group_id = ? \
ORDER BY r.role_id
*/

p = JForumExecutionContext.getConnection().prepareStatement(sql);

Role r = null;
String lastName = null;

rs = p.executeQuery(); // there is err !
while (rs.next()) {
...
}

before here : rs = p.executeQuery(); not set r.group_id !!!

when i debug here show err !!

[originally posted on jforum.net by jyhcyd]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This has been fixed. Thanks for reporting..

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks!! Rafael Steil
[originally posted on jforum.net by jyhcyd]
 
Just the other day, I was thinking ... about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic