SQL Error during deployment script execution on 5.2.0-B1

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Nov 12, 2012, 5:39:49 AM11/12/12
to Bugs In-Portal
In http://tracker.in-portal.org/view.php?id=1317 task from we've introduced new code, that would allow to have have unified check for user's IP address across all In-Portal code.

1. However CLI script invocation mode isn't taken into account. Because of that Column 'IpAddress' cannot be null error is raised several times during In-Portal invocation from command line.

2. I've attached SystemLog table record with details about this problem. Based on it we have another problem: session is created during deployment script invocation, however we have code, that prevent any session to be created, unless user is logged-in.
cpt_SystemLog.sql

Dmitry Andrejev

unread,
Nov 12, 2012, 12:26:27 PM11/12/12
to in-port...@googlegroups.com
Hi Alex,


Yes, this is quite annoying issue. I think we should get this resolved ASAP before it gets too far.

Quick comments:

1. I think we should/can set IpAddress to 127.0.0.1 if CLI is detected?

2. About the session - need to get to the bottom of this


DA

Alexander Obuhovich

unread,
Nov 18, 2012, 4:05:13 PM11/18/12
to Bugs In-Portal
As I've mentioned that NULL value is produced due another error, which, when fixed will automatically solve this.



--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/Wws4FQY5wDYJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.
Reply all
Reply to author
Forward
0 new messages