asalihsimsek / concerto-platform

Automatically exported from code.google.com/p/concerto-platform
0 stars 0 forks source link

Problem with extracting variables in input parameter #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tried to insert and input variable in the ïnput parameter" called "testID".
2. Attiributed the value 10 in the URL, such as the example 
http://54.243.114.221/concerto/?wid=4&tid=7&testID=10
3. When I tried to exract this variable inside the code, it gave this format 
{"name":"testID","value":"10"}. What I did is that I inseted the variable 
testID in the HTML to show me the contet of the object testID, and that is what 
i showed me.
4. I tried to see its characteristics and it porved to be a character type, so 
it tried to change it into an integrer but it didn't work. 

What is the expected output? What do you see instead?

I need to have the nunmber 10 and an object, so I can use it to other 
connections with my database. This is and identificator from an external 
database. I got a type of variable that I don't know.

What version of the product are you using? On what operating system?

Version 4.0, MAC OS 10.8, Chrome

Please provide any additional information below.

Original issue reported on code.google.com by joaoviss...@gmail.com on 12 Jun 2013 at 4:27

GoogleCodeExporter commented 9 years ago
That is a JSON query, so we fixed with the code:

fromJSON(SubjectID)$value

Original comment by joaoviss...@gmail.com on 15 Jul 2013 at 7:50

GoogleCodeExporter commented 9 years ago

Original comment by LisPrzem...@gmail.com on 16 Jul 2013 at 1:52