• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

bvuser
#1 Posted : Thursday, April 19, 2007 8:48:59 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Hi,


The function referenced in the subject does not function as expected.



The function ends up calling the stored procedure bvc_ComponentSettingList_s which takes a bvin as a parameter. This behavior is expected by the FindSettingListItem(string bvin) function. As the GetAllSettingsLists() function accepts no parameters one would expect the function to use the stored procedure [2]bvc_ComponentSettingList_ByComponentId_s and passing in the BlockId.[/2]

[2][/2]

[2]
[/2]
Netriplex Corporation<br />
bvuser
#2 Posted : Thursday, April 19, 2007 11:49:34 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Based on what I have researched, the underlying function:


PublicSharedFunctionByValAsStringAsOfOfDimAsNewOfOfDimAsStringStringDimAsOfNothing</P>DimAs"bvc_ComponentSettingList_s"</P>
ComponentSettingListItem
[2].FindByComponentId(string ComponentId) which based on the definition alone, it clearly seems that it is supposed to return all lists of a specific component also failed.
[/2]</FONT>
Netriplex Corporation<br />
bvuser
#3 Posted : Friday, April 20, 2007 8:17:51 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Any confirmation/rebuttal on this issue?
Netriplex Corporation<br />
jetheredge
#4 Posted : Friday, April 20, 2007 12:25:19 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Yes, it appears that you are correct. Both the FindByComponentId and FindByComponentIdEncrypted both should be calling "bvc_ComponentSettingList_ByComponentId_s"
Justin Etheredge
Senior Software Engineer
BVSoftware
bvuser
#5 Posted : Thursday, April 26, 2007 4:24:27 PM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Is an official patch for this going to be released or should we just re-compile the core ourselves and go from there?
Netriplex Corporation<br />
jetheredge
#6 Posted : Thursday, April 26, 2007 4:26:48 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

This fix will most likely be put into the next service pack. Releasing a patch of the core is extremely complex and so this fix will most likely go into SP3.
Justin Etheredge
Senior Software Engineer
BVSoftware
bvuser
#7 Posted : Thursday, May 17, 2007 4:06:42 PM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Hi Justin,

After putting off the project that was using this function for a bit, I have since resumed work on it and have realized that there is an additional problem with this function than simply the stored procedure name.

The way the function is currently written, the first item of a list is never added to the collection.

The 2 functions referenced above both need to have currList.Add(listItem) added to the "Else" portion of the if statement after the new "list" is initialized.
Netriplex Corporation<br />
jetheredge
#8 Posted : Friday, May 18, 2007 10:31:38 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We will get this fixed and we are going to release it today with the Core patch that we are planning on releasing.
Justin Etheredge
Senior Software Engineer
BVSoftware
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012