<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Tracmor Forum - [FIXED] User role without assets login error.]]></title>
	<link rel="self" href="http://www.tracmor.com/forum/feed/atom/topic/66/"/>
	<updated>2009-04-10T20:17:56Z</updated>
	<generator>PunBB</generator>
	<id>http://www.tracmor.com/forum/topic/66/fixed-user-role-without-assets-login-error/</id>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] User role without assets login error.]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/268/#p268"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jsinclair]]></name>
				<uri>http://www.tracmor.com/forum/user/16/</uri>
			</author>
			<updated>2009-04-10T20:17:56Z</updated>
			<id>http://www.tracmor.com/forum/post/268/#p268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[FIXED] User role without assets login error.]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/168/#p168"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jbraham]]></name>
				<uri>http://www.tracmor.com/forum/user/68/</uri>
			</author>
			<updated>2008-12-18T21:52:23Z</updated>
			<id>http://www.tracmor.com/forum/post/168/#p168</id>
		</entry>
</feed>

