StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Error Creating NewRow()
Error Creating NewRow()
Post Reply
Like
0
Error Creating NewRow()
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Tim Dol
Tim Dol
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 340,
Visits: 1.4K
We are getting the attached error (
Cannot perform '=' operation on System.String and System.Int32
) when performing BO.NewRow() on a child business object. Strange thing is that it works fine in our development and testing environment but not at one of our customer sites. (I attached the stacktrace).
Any Idea's why we are getting this error.
Thanks,
Tim
Attachments
SF-NewRowError.png
(
139 views,
55.00 KB
)
Reply
Like
0
Replies
Tim Dol
Tim Dol
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 340,
Visits: 1.4K
The problem has been resolved.
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 17 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
I'm glad you got it fixed... was it something firing from a changed handler that was causing the issue, or maybe something in your SetDefaultValues?
Reply
Like
0
Tim Dol
Tim Dol
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 340,
Visits: 1.4K
neither... We built a helper function to create SQL Queries and filter expression in a way that makes it immume to SQL injection attacks. We assumed that 'IsNumeric' returned True if its parameter was of a numeric type, however we discovered it also returned True if it is a string or char that is entirely of numeric form. We added the appropriate 'type' checks which solved our problem.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Error Creating NewRow()
Tim Dol
-
18 Years Ago
By the way, I did check the filter and sort properties.
Tim Dol
-
18 Years Ago
It appears that though there is a test occuring that is stuffing...
Trent L. Taylor
-
18 Years Ago
I did some more investigation, built the SF project in debug mode,and...
Tim Dol
-
17 Years Ago
I was able to isolate what field is causing the problem but have no...
Tim Dol
-
17 Years Ago
The problem has been resolved.
Tim Dol
-
17 Years Ago
I'm glad you got it fixed... was it something firing from a changed...
StrataFrame Team
-
17 Years Ago
neither... We built a helper function to create SQL Queries and filter...
Tim Dol
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search