Opened 8 years ago
Last modified 8 years ago
#890 closed enhancement
Remove calls to methods deprecated in BASE 3.9 — at Initial Version
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.5 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
See http://base.thep.lu.se/ticket/2011
Reggie is full of calls to the deprecated 2-argument version of Application.getSessionControl()
. I think we should:
- Re-factor the code so that the call is made in via a utility function.
- Call the 3-argument version of
Application.getSessionControl()
. - Add a check that a user is actually logged in. This is currently not done and may in some cases result in an exception later on and in some cases result in an empty data structure being returned. Better to throw a
NotLoggedInException
immediately.
Note:
See TracTickets
for help on using tickets.