<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Tracmor Forum - [FIXED] User role without assets login error.]]></title>
		<link>http://www.tracmor.com/forum/topic/66/fixed-user-role-without-assets-login-error/</link>
		<description><![CDATA[The most recent posts in [FIXED] User role without assets login error..]]></description>
		<lastBuildDate>Fri, 10 Apr 2009 20:17:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [FIXED] User role without assets login error.]]></title>
			<link>http://www.tracmor.com/forum/post/268/#p268</link>
			<description><![CDATA[<p>Thank you for reporting this bug.&nbsp; This has been fixed in <a href="http://code.google.com/p/tracmor/source/detail?r=459">r459</a> and will be in the next release.</p>]]></description>
			<author><![CDATA[null@example.com (jsinclair)]]></author>
			<pubDate>Fri, 10 Apr 2009 20:17:56 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/268/#p268</guid>
		</item>
		<item>
			<title><![CDATA[[FIXED] User role without assets login error.]]></title>
			<link>http://www.tracmor.com/forum/post/168/#p168</link>
			<description><![CDATA[<p>Hello,</p><p>When I create a user role with no access to Assets, they are unable to log in and get the message below.&nbsp; If I enable assets with View:Owner and Edit:None and Delete:None they can log in just fine and just move to the inventory tab to do their actual work.</p><p>Error message:</p><p>Trying to get property of non-object<br />Error Type:&nbsp; &nbsp;E_NOTICE&nbsp; &nbsp; </p><p>Rendered Page:&nbsp; &nbsp;Click here to view contents able to be rendered </p><p>Source File:&nbsp; &nbsp;C:\xampp\htdocs\tracmor\includes\prepend.inc.php&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; Line:&nbsp; &nbsp;103&nbsp; &nbsp; </p><p>Line 98:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />Line 99:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // If they are not in the admin panel<br />Line 100:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($intModuleId) {<br />Line 101:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $objRoleModule = RoleModule::LoadByRoleIdModuleId($objUserAccount-&gt;RoleId, $intModuleId);<br />Line 102:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // If they do not have access to this module<br />Line 103:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!$objRoleModule-&gt;AccessFlag) {<br />Line 104:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QApplication::Redirect(&#039;../common/trespass.php&#039;);<br />Line 105:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />Line 106:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Assign the RoleModule to QApplication<br />Line 107:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else {<br />Line 108:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QApplication::$objRoleModule = $objRoleModule;</p><p>Call Stack: </p><p>#0 C:\xampp\htdocs\tracmor\includes\prepend.inc.php(103): QcodoHandleError()<br />#1 C:\xampp\htdocs\tracmor\home\index.php(23): QApplication::Authenticate()</p>]]></description>
			<author><![CDATA[null@example.com (jbraham)]]></author>
			<pubDate>Thu, 18 Dec 2008 21:52:23 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/168/#p168</guid>
		</item>
	</channel>
</rss>

