One of the great things on Pandora is that it's extremely flexible.
While trying to send markup strings from a generic_data_string module, data packets were either:
1) being discarded and not processed
2) generating input as hash(x?x?) value on Pandora Web
Examples of this are modules that return HTML input:
Pandora Web PageThe above string is interpreted by the server as XML and not as a string while processing the data packet (using XMLin input).
We have resolved this in the meantime by analysing if the incoming string is an XML value. If so, we transform it again to a string.
Code location: pandora_server/bin/pandora_db.pm
Code function: sub module_generic_data_string (%$$$$$)
Code inserted:
use XML::Simple;
(...)
if (ref($m_data) eq "HASH") {
$m_data = XMLout($m_data, RootName=>undef);
}
Hope this helps.
Cheers