﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Bug in SFSUsersXRolesBO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 22 Apr 2026 23:21:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Bug in SFSUsersXRolesBO</title><link>http://forum.strataframe.net/FindPost32647.aspx</link><description>I came across a bug in SFSUsersXRolesBO.FillAll(). "ORDER" is missing from the ORDER BY clause.&lt;br/&gt;&lt;br/&gt;&lt;pre style="background: white; color: black; font-family: Consolas; font-size: 13px;"&gt;&lt;span style="color: blue;"&gt;#Region&lt;/span&gt;&amp;nbsp;&lt;span style="color: rgb(163, 21, 21);"&gt;"&amp;nbsp;Data&amp;nbsp;Retrieval&amp;nbsp;Methods&amp;nbsp;"&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;'''&amp;nbsp;&lt;/span&gt;&lt;span style="color: gray;"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;'''&amp;nbsp;Fill&amp;nbsp;data&amp;nbsp;table&amp;nbsp;with&amp;nbsp;all&amp;nbsp;records&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;'''&amp;nbsp;&lt;/span&gt;&lt;span style="color: gray;"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;'''&amp;nbsp;&lt;/span&gt;&lt;span style="color: gray;"&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;Public&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;Sub&lt;/span&gt;&amp;nbsp;&lt;span style="color: rgb(8, 200, 200);"&gt;FillAll&lt;/span&gt;()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: rgb(8, 200, 200);"&gt;FillDataTable&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"SELECT&amp;nbsp;*&amp;nbsp;FROM&amp;nbsp;"&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span style="color: blue;"&gt;Me&lt;/span&gt;.&lt;span style="color: purple;"&gt;TableNameAndSchema&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span style="color: rgb(163, 21, 21);"&gt;"&amp;nbsp;by&amp;nbsp;ur_us_pk"&lt;/span&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;Sub&lt;/span&gt;&lt;/pre&gt;</description><pubDate>Fri, 15 Aug 2014 05:28:49 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Bug in SFSUsersXRolesBO</title><link>http://forum.strataframe.net/FindPost32652.aspx</link><description>Glad you got it fixed, Larry. &lt;br/&gt;I did the same to my source code, just in case. &lt;span&gt;;)&lt;/span&gt;</description><pubDate>Fri, 15 Aug 2014 05:28:49 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Bug in SFSUsersXRolesBO</title><link>http://forum.strataframe.net/FindPost32651.aspx</link><description>You're correct. I created a form with a checkbox&amp;nbsp;list view to allow me to&amp;nbsp;add/delete roles or permissions to a large number of users at once. I used the FillAll() method and ran into the bug.&amp;nbsp; Looks like I'm the first person to ever call it. I corrected my local source code, recompiled and everything works as it should.&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Thu, 14 Aug 2014 17:42:52 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Bug in SFSUsersXRolesBO</title><link>http://forum.strataframe.net/FindPost32650.aspx</link><description>Hi Larry.&lt;br/&gt;&lt;br/&gt;Yep, I had a look at the source code and it looks like it is missing the ORDER clause. The good thing is, I searched the entire solution and the FillAll is not used anywhere. I would guess you are instantiating the BO in your code and trying to access the method, and that's when you are facing the exception.&lt;br/&gt;&lt;br/&gt;Cheers.&lt;br/&gt;&lt;br/&gt;Ivan</description><pubDate>Wed, 13 Aug 2014 14:18:16 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>