Error when adding a record and putting $NUMBER together. Doe

A place for users and developers of the Xataface to discuss and receive support.

Postby Aoirthoir » Thu Nov 16, 2006 12:41 pm

In a text field (for comments/notes) I put this data:

this is a test $392.34

If I put any data into a note first and save, then go back and copy that data, everything works fine. But if I try to do the initial add I get the following errors:

Fatal error: Attempt to get relationship nonexistent '392' from table 'patients'
On line 2056 of file /media/www/libraries/dataface-0.6.9r1/Dataface/Table.php in function printStackTrace()
On line 2656 of file /media/www/libraries/dataface-0.6.9r1/Dataface/Table.php in function getRelationship(392)
On line 192 of file /media/www/libraries/dataface-0.6.9r1/Dataface/Record.php in function hasField(392.34)
On line 900 of file /media/www/libraries/dataface-0.6.9r1/Dataface/Relationship.php in function parseString(this is a test $392.34)
On line 397 of file /media/www/libraries/dataface-0.6.9r1/Dataface/RelatedRecord.php in function getForeignKeyValues(-xxx--this is a test $392.34-ddd-,,Object id #71)
On line 861 of file /media/www/libraries/dataface-0.6.9r1/Dataface/QueryBuilder.php in function getForeignKeyValues()
On line 757 of file /media/www/libraries/dataface-0.6.9r1/Dataface/IO.php in function addRelatedRecord(Object id #86)
On line 602 of file /media/www/libraries/dataface-0.6.9r1/Dataf in /media/www/libraries/dataface-0.6.9r1/Dataface/Table.php on line 2056
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Nov 16, 2006 5:23 pm

Ok.. this is a bug.. I'm looking into it right now...
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Nov 16, 2006 5:39 pm

OK I have posted a patch a that should fix the problem.
http://framework.weblite.ca/development/issue-tracker/137

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Fri Nov 17, 2006 1:42 pm

Thanks Mr. Steve, worked perfectly.

One deparment is already live with our notes module. The rest go live on Monday. No more DOS notes...thanks. Other modules will follow.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Postby Aoirthoir » Mon Nov 20, 2006 7:23 pm

Mr. Steve,

This works now without errors. However then I get no dollar sign saved to the record...

Thank you kindly for listening bro.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 27 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved