Hi all.
The Facts:
Im currently using a jumpbox loaded with OpenEMM 6.0.1, when i use the example pages, and do a registration for a user, it works 100%, I can then go to the recipients page and see the user I created through the form, so the insert into the DB works perfectly.
The Problem:
The problem im having is when I try to pull that data back out using the example "en_profil" form, it just loads the error page (using the "http://domain/form.do?agnCI=1&agnFN=en_profil&agnUID=1" url and args). I've tried with a few different arguments, iv tried creating my own very basic form, and using the "$!customerData.FIRSTNAME" DB call (as in the example) just to call the first name, but to no avail. I've also tried creating a new form, but printing just a blank page with 1 line of text so as to see if the problem occurs when it tries to pull the records from the form, or weather it occurs when the action is called, and it just keeps loading the error page of the form. So the conclusion iv come to is that the error occurs when OpenEMM tries to load the "user_get_data" example action.
The Questions:
1) Is there any way to debug the form, so I can see the exact error that it has (the exception it generates when it tries to access and pull data from the DB)?
2) Does anybody have any thoughts on what I may be doing wrong, or anything that requires any setup before you can pull data from the DB?
Thanks in advance.
EDIT: Ok, silly me, I only looked at the logs now. The error it has is "ERROR [resin-tcp-connection-*:8080-9] org.agnitas - decodeTagString: java.lang.Exception: Invalid format for UID", so now, I suppose I just have to find out how to access the DB so I can see what the "UID" field is populated with, and then do a call to the "en_profil" form with the correct arg...
Having trouble pulling records from the database using form
Moderator: moderator