Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1830] UI interface Backbone cable
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Sat, 30 May 2015 00:40:04 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1830] UI interface Backbone
        cable
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1830 has been updated by Shahin Gilbert.


Hi,
Backbone UI provides a simple way to represent your Backbone Models and 
Collections as UI components. The need to shuffle data in and out of your UI is 
replaced with simple data binding techniques.Visit following 
"link":http://downtownlalaw.com for installing backbone cables
http://www.cablinginstall.com/articles/print/volume-4/issue-1/contents/installation/installing-backbone-cabling-systems.html
----------------------------------------
Bug #1830: UI interface Backbone cable
https://osl.uoregon.edu/redmine/issues/1830#change-3302

Author: Anonymous
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


Hello again,
I have two sites S1 and S2
I created two cable from S1 to S1 in different floor. One is fiber and the 
other Cat6.
Now I try to see the backbone I have and Iselect S1 as beginning site and S1 as 
ending site and i obtained the following error:
<pre>
System error
error:          Can't call method "start_closet" on an undefined value at 
/usr/local/netdot/htdocs/cable_plant/cable_plant_backbone.mhtml line 147.
context:        
...     
143:    . '&backbone_srch=' . $backbone_srch . '&cable_sort=owner&page_type=' . 
$page_type . '">Owner</a>' );
144:    
145:    foreach my $cable (@sorted_cables) {
146:    
147:    my $start_site = $cable->start_closet->room->floor->site if 
($cable->start_closet->room->floor);
148:    my $end_site = $cable->end_closet->room->floor->site if 
($cable->end_closet->room->floor);
149:    my $start_site_id = $start_site->id if ($start_site);
150:    my $end_site_id = $end_site->id if ($end_site);
151:    
...     
code stack:     
/usr/local/netdot/htdocs/cable_plant/cable_plant_backbone.mhtml:147
/usr/local/netdot/htdocs/cable_plant/cable_plant.html:115
/usr/local/netdot/htdocs/cable_plant/autohandler:353
/usr/share/perl5/HTML/Mason/Request.pm:936
/usr/local/netdot/htdocs/masondata/obj/991023240/cable_plant/autohandler.obj:21
/usr/local/netdot/htdocs/autohandler:76
raw error




Can't call method "start_closet" on an undefined value at 
/usr/local/netdot/htdocs/cable_plant/cable_plant_backbone.mhtml line 147.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "start_closet" 
on an undefined value at 
/usr/local/netdot/htdocs/cable_plant/cable_plant_backbone.mhtml line 147.^J') 
called at /usr/local/netdot/htdocs/cable_plant/cable_plant_backbone.mhtml line 
147
HTML::Mason::Commands::__ANON__('o', undef, 'MAX_SELECTION', 500, 'start_id', 
1, 'end_id', 3, 'page_type', 'BACKBONE', 'submit_site', 'Go!', 'backbone_srch', 
undef, 'backbone_id_srch', undef, 'edit', undef, 'site_srch', undef, 
'cable_sort', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa3d95ff178)',
 'o', undef, 'MAX_SELECTION', 500, 'start_id', 1, 'end_id', 3, 'page_type', 
'BACKBONE', 'submit_site', 'Go!', 'backbone_srch', undef, 'backbone_id_srch', 
undef, 'edit', undef, 'site_srch', undef, 'cable_sort', undef) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 1284
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, 'o', undef, 'MAX_SELECTION', 500, 
'start_id', 1, 'end_id', 3, 'page_type', 'BACKBONE', 'submit_site', 'Go!', 
'backbone_srch', undef, 'backbone_id_srch', undef, 'edit', undef, 'site_srch', 
undef, 'cable_sort', undef) called at 
/usr/local/netdot/htdocs/cable_plant/cable_plant.html line 115
HTML::Mason::Commands::__ANON__('submit_site', 'Go!', 'start_id', 1, 
'page_type', 'BACKBONE', 'end_id', 3, 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa3d6b8a158)',
 'submit_site', 'Go!', 'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3, 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1284
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'submit_site', 'Go!', 
'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3, 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 943
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fa3d6b864e0)')
 called at /usr/local/netdot/htdocs/cable_plant/autohandler line 353
HTML::Mason::Commands::__ANON__('submit_site', 'Go!', 'start_id', 1, 
'page_type', 'BACKBONE', 'end_id', 3, 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fa3d9a32bc8)',
 'main', 'submit_site', 'Go!', 'start_id', 1, 'page_type', 'BACKBONE', 
'end_id', 3, 'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm 
line 936
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fa3d6b864e0)',
 'main', 'submit_site', 'Go!', 'start_id', 1, 'page_type', 'BACKBONE', 
'end_id', 3, 'showheader', 1) called at 
/usr/local/netdot/htdocs/masondata/obj/991023240/cable_plant/autohandler.obj 
line 21
HTML::Mason::Commands::__ANON__('submit_site', 'Go!', 'start_id', 1, 
'page_type', 'BACKBONE', 'end_id', 3, 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa3d9a32bc8)',
 'submit_site', 'Go!', 'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3, 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1284
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'submit_site', 'Go!', 
'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3, 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 943
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fa3d6b864e0)',
 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line 76
HTML::Mason::Commands::__ANON__('submit_site', 'Go!', 'start_id', 1, 
'page_type', 'BACKBONE', 'end_id', 3) called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa3d9961848)',
 'submit_site', 'Go!', 'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3) 
called at /usr/share/perl5/HTML/Mason/Request.pm line 1279
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'submit_site', 'Go!', 
'start_id', 1, 'page_type', 'BACKBONE', 'end_id', 3) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 473
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 473
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fa3d6b864e0)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fa3d6b864e0)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fa3d9861030)',
 'Apache2::RequestRec=SCALAR(0x7fa3da39be28)') called at 
/usr/local/netdot/lib/Netdot/Mason.pm line 59
Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7fa3da39be28)') called at 
-e line 0
eval {...} at -e line 0

</pre>

And I get the same error when I select S2 as ending Site but there is no 
backbone cable in S2.
I only have the two backbone cable I mentionned previously.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 98, Issue 13
********************************************

Reply via email to