Print Page | Close Window

PX_ Property Exchange bug?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13255
Printed Date: 14 September 2025 at 1:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PX_ Property Exchange bug?
Posted By: Algae
Subject: PX_ Property Exchange bug?
Date Posted: 25 January 2009 at 5:12pm
Version 10.42

Not sure if this is by design, but I did discover a problem with the property exchange mechanism while saving.

Lets say you have a string that is preceded by a space " ". Now we use that string to make a property.

tStr = _T(" All");
PX_Bool(&px,tStr,bVal);

During the "create" process GetEntryNode is called:

CXTPDOMNodePtr xmlEntryPtr = GetEntryNode(pszPropName, TRUE);

The process asserts in ASSERT(xmlNodeEntryPtr != 0);

xtppropexchange.cpp

removing the space allows the process to complete normally.






Replies:
Posted By: Oleg
Date Posted: 26 January 2009 at 1:56am
Hi,
It have to be valid XML node string. Don't add this space.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Algae
Date Posted: 28 January 2009 at 12:10am
Ya.. that's pretty much what I discovered thank you 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net