Home / Bug Reporting

Bug Reporting


Introduction

This page may be used for recording potential bugs. By reporting potential bugs, you may help other developers avoid frustration.

LassoSoft does not confirm whether reports on this page are in fact bugs. To report bugs in Lasso 9 through official and supported channels, please send email to bugs@lassosoft.com with the following information.

  • Brief name of bug, i.e., what you would put in the subject of an email when reporting a bug
  • Reproducible steps you perform to observe the bug
  • What you observed
  • What you expected to observed
  • Code sample that produces the bug, either in the message or as an attachment
  • Screenshots
  • Error messages or error stack
  • Version of Lasso 9
  • Operating system and version

Recorded Bugs

Serialization of an array of multiple maps silently fails

Put the following code sample into a page or in Quick Code in Lasso Admin.
array(map('a'=1),map('b'=2))->serialize;

I get an error message:

FAILURE: 0 No error

I expected no error message, and that the array of maps would get serialized.

Lasso 9 v.1168

Mac OS X 10.5.8

Lasso 9 Creating & Not Closing MySQL Connections

I have run into a problem where Lasso 9 creates connections to MySQL and never closes them. They stay in a sleep status according to the process list. This, in turn, causes me to hit the maximum number of connections for MySQL and then the site will stop working.

Here's a stripped down example of the offending code:

<?=
  var(db) = 'www'
  var(SQL) = "SELECT * FROM accesses"
  inline(-inlineName='test', -database=$db, -sql=$SQL, -maxRecords='all') => {}

  records(-inlineName='test')
    inline(-database=$db, -sql=$SQL, -maxRecords='all') => {}
  /records
?>

That table has 9 records and causes 8-10 connections to be added and not closed out each time I run a page with that code in it.

Mac OS X Server 10.6.1
Lasso 9 rev 1335


    Post a comment

    Your Name or E-mail ID (mandatory)

     

    Note: Your comment will be published after approval of the owner.




     RSS of this page