[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-bugs
Subject:    [Bricolage-Bugs] [Bug 171] New: Mason error encountered on Elements admin screen
From:       bugzilla-daemon () thepirtgroup ! com
Date:       2002-05-16 17:16:04
[Download RAW message or body]

           Summary: Mason error encountered on Elements admin screen
           Product: Bricolage
           Version: 1.3.0 - Development for 1.4.0
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Admin Tools
        AssignedTo: david@wheeler.net
        ReportedBy: arobinson@about-inc.com


I encountered the error listed below when I did the following:

1. Went to ADMIN->PUBLISHING->ELEMENTS.
2. Selected an item from the 'Or Pick a Type:' select menu.
3. Clicked the 'SEARCH' button.

I was able to reproduce the same error with all of the options in the 'Or
Pick...' select menu. The error was also reproduced on a non-QA mode system.

adam.

n.b. - the weird settings for the 'listManager' are from the search paging patch
i've been working on. the non-QA mode machine on which i reproduced the error
does not have this patch...


##### QA Mode Dump #####
An exception was thrown:

Fault Type: Bric::Util::Fault::Exception::AP
Timestamp: 2002-05-16 14:34:59
Package: Bric::App::Handler
Filename: /usr/local/bricolage/lib/Bric/App/Handler.pm
Line: 273
Message: Error processing Mason elements. 
Payload: Can't coerce array into hash at
/usr/local/bricolage/data/obj/BRIC_UI/widgets/profile/displayFormElement.mc line
12. 

Stack:
/usr/local/bricolage/lib/Bric/App/Handler.pm - Bric::Util::Fault::new - 273
/usr/local/bricolage/lib/Bric/App/Handler.pm - Bric::App::Handler::handle_err - 250
/dev/null - Bric::App::Handler::handler - 0
/dev/null - (eval) - 0 

 Browser: 
        Netscape
  Version: 
        4.76
    OS: 
        SomeNix
   Type: 
        Browser


Session: 

     $VAR1 = {
       'admin_mgr' => {
         'state' => 'pref'
       },
       'workflow' => {
         'data' => {
           'work_id' => '103'
         }
       },
       'help' => {
         'data' => {
           'context' => 'Admin | Manager | Element',
           'page' => 'Element Manager '
         }
       },
       'search' => {
         'data' => {
           'criterion' => '%',
           'object' => 'element',
           'crit_field' => '',
           'crit_letter' => '',
           'field' => 'name',
           'crit_set_uri' => '/admin/manager/element'
         }
       },
       'listManager' => {
         'data' => {
           '_reset_key' => 'element',
           'object' => 'element',
           'defaultSort' => 'name',
           'start_page' => 'x',
           'sortBy' => '',
           'pages' => '1',
           'pkg_name' => 'Bric::Biz::AssetType'
         }
       },
       '_history' => [
         '/admin/manager/element',
         '/workflow/manager/templates/103',
         '/admin/manager/element',
         '/',
         '/admin/manager/element',
         '/',
         '/admin/manager/element',
         '/',
         '/admin/manager/element',
         '/'
       ],
       'util' => {
         'data' => {
           'user-agent' => {
             'os' => 'SomeNix',
             'version' => '4.76',
             'type' => 'Browser',
             'browser' => 'Netscape'
           }
         }
       },
       'nav' => {
         'data' => {
           'adminPublishing' => '1',
           'workflow-Story' => '0',
           'adminSystem' => '0',
           'admin' => '1',
           'workflow-Template' => '1',
           'workflow-Media' => '1'
         }
       },
       'login' => {
         'state' => 'nossl'
       },
       '_bric_user' => {
         'object' => bless( {
           '_active' => '1',
           'suffix' => '',
           'password' => '93b43edd31ff569f85c2462a841f61ef',
           'lname' => 'Administrator',
           '_is_admin' => 1,
           'fname' => 'Bricolage',
           '_inserted' => 1,
           'mname' => '',
           'id' => '0',
           'login' => 'admin',
           '_dirty' => 1,
           'prefix' => '',
           '_p_active' => '1'
         }, 'Bric::Biz::Person::User' ),
         'admin' => 1,
         'id' => '0',
         'login' => 'admin'
       },
       '_session_id' => '456bdfd2566605fbe6fb0b8fa0d47a5a',
       '_msg' => [],
       'select_object.element_type' => {
         'data' => {
           '_reset_key' => [
             '2',
             '2'
           ],
           'selected_id' =>
$VAR1->{'select_object.element_type'}{'data'}{'_reset_key'},
           'form_name' => 'elem_type'
         }
       }
     };

Cache: 

     $VAR1 = {
       '__PREF__' => {
         'Date/Time Format' => '%G-%m-%d %T',
         'Search Results / Page' => '10',
         'Permissions Widget' => 'radio',
         'Fixed URI Format' => '/categories/',
         'Name Format' => '%f% l',
         'Time Zone' => 'America/Los_Angeles',
         'List Name Format' => '%l%, f',
         'URI Case' => 'mixed',
         'URI Format' => '/categories/slug/'
       },
       '__NUM_LINKS__' => 43,
       '__WORKFLOWS__' => [
         {
           'desks' => [
             [
               '105',
               'Art',
               [
                 '65'
               ]
             ],
             [
               '103',
               'Legal',
               [
                 '63'
               ]
             ],
             [
               '104',
               'Publish',
               [
                 '64'
               ]
             ]
           ],
           'id' => '102',
           'type' => '3',
           'gids' => [
             '43',
             '25'
           ],
           'name' => 'Media'
         },
         {
           'desks' => [
             [
               '101',
               'Edit',
               [
                 '61'
               ]
             ],
             [
               '102',
               'Copy',
               [
                 '62'
               ]
             ],
             [
               '103',
               'Legal',
               [
                 '63'
               ]
             ],
             [
               '104',
               'Publish',
               [
                 '64'
               ]
             ]
           ],
           'id' => '101',
           'type' => '2',
           'gids' => [
             '41',
             '25'
           ],
           'name' => 'Story'
         },
         {
           'desks' => [
             [
               '106',
               'Development',
               [
                 '66'
               ]
             ],
             [
               '107',
               'Deploy',
               [
                 '67'
               ]
             ]
           ],
           'id' => '103',
           'type' => '1',
           'gids' => [
             '45',
             '25'
           ],
           'name' => 'Template'
         }
       ]
     };

Request Cache: 

     $VAR1 = {};

Environment: 

     $VAR1 = {
       'QUERY_STRING' => 'elem_type=2',
       'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
       'HTTP_ACCEPT_LANGUAGE' => 'en',
       'TZ' => '',
       'HTTP_REFERER' => 'http://localhost/admin/manager/element?elem_type=2',
       'REMOTE_PORT' => '33711',
       'HTTP_USER_AGENT' => 'Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)',
       'HTTP_ACCEPT' => 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*',
       'HTTP_HOST' => 'localhost',
       'GATEWAY_INTERFACE' => 'CGI-Perl/1.1',
       'BRICOLAGE_ROOT' => '/usr/local/bricolage',
       'SCRIPT_NAME' => '/admin/manager/element',
       'SERVER_NAME' => '_default_',
       'HTTP_ACCEPT_ENCODING' => 'gzip',
       'HTTP_PRAGMA' => 'no-cache',
       'MOD_PERL' => 'mod_perl/1.26',
       'HTTP_ACCEPT_CHARSET' => 'iso-8859-1,*,utf-8',
       'UNIQUE_ID' => 'POQmA38AAAEAAAZ-BGM',
       'HTTP_COOKIE' => 'BRICOLAGE=456bdfd2566605fbe6fb0b8fa0d47a5a;
BRICOLAGE_AUTH=ip&127.0.0&exp&1021612205&lmu&1021576913&hash&4d84f250631da2529c2c8f56ac674c98&user&admin',
                
       'SCRIPT_FILENAME' => '/usr/local/bricolage/comp/admin/manager/element',
       'CONTENT_LENGTH' => '121',
       'PATH' =>
'/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/home/adam/bin:/stuff/apps/jdk1.3.1/bin:/stuff/apps/postgresql-7.1.3/bin:/stuff/apps/mysql-3.23.39/bin:..:.',
  'SERVER_ADDR' => '127.0.0.1',
       'SERVER_PROTOCOL' => 'HTTP/1.0',
       'HTTP_CONNECTION' => 'Keep-Alive',
       'SERVER_SIGNATURE' => '
     Apache/1.3.22 Server at _default_ Port 80

     ',
       'SERVER_SOFTWARE' => 'Apache/1.3.22 (Unix) mod_perl/1.26',
       'SERVER_ADMIN' => 'root@localhost',
       'REMOTE_ADDR' => '127.0.0.1',
       'DOCUMENT_ROOT' => '/usr/local/bricolage/comp',
       'REQUEST_URI' => '/admin/manager/element?elem_type=2',
       'REQUEST_METHOD' => 'POST',
       'SERVER_PORT' => '80'
     };

Headers: 
 Key
             Value
       Pragma
             no-cache
   Content-type
             application/x-www-form-urlencoded
         Host
             localhost
        Cookie
             BRICOLAGE=456bdfd2566605fbe6fb0b8fa0d47a5a;
            
BRICOLAGE_AUTH=ip&127.0.0&exp&1021612205&lmu&1021576913&hash&4d84f250631da2529c2c8f56ac674c98&user&admin
  Referer
             http://localhost/admin/manager/element?elem_type=2
  Content-length
             121
        Accept
             image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
     Connection
             Keep-Alive
 Accept-Encoding
             gzip
     User-Agent
             Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
 Accept-Language
             en
  Accept-Charset
             iso-8859-1,*,utf-8


ARGS: 
 Key
                              Value
 None

http://bricolage-bugzilla.thepirtgroup.com/show_bug.cgi?id=171

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
Bricolage-Bugs mailing list
Bricolage-Bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic