Jan 21
Marc Pinnell string->invoke(string) error
Jan 21, 2015; 10:45
Marc Pinnell
string->invoke(string) error
Maybe I have been looking at this too long... The code below is generating this error:
Lasso Error Code: -9948
Error Description: Definition Not Found: string->invoke(string) Candidates were: null->invoke()
Error Stack:
301:64 //.../admin-reservations-home.lasso
local(
curRes = #quadTime->get(loop_count),
rowsc = $reservations->find(#curRes)->get(4),
colsc = $reservations->find(#curRes)->get(5)
)
match($reservations->find(#curRes)->get(3)) => {^
case(TRUE)
'<td class="reserved success"' + (#rowsc != 0 ? ' rowspan="' + #rowsc + '"')(#colsc > 0 ? ' colspan="' + #colsc + '"') + '><a href="/admin/edit+reservation/' + $reservations->find(#curRes)->get(1) + '/">' + $reservations->find(#curRes)->get(2) + '</a></td>'
case(FALSE)
'<td class="reserved warning"' + (#rowsc > 0 ? ' rowspan="' + #rowsc + '"')(#colsc > 0 ? ' colspan="' + #colsc + '"') + '><a href="/admin/edit+reservation/' + $reservations->find(#curRes)->get(1) + '/">' + $reservations->find(#curRes)->get(2) + '</a></td>'
^}
* Line 301 is the "td" line under TRUE, position 64 would be the second occurrence of "#rowsc" in that line.
* #rowsc is an integer (verified)
* Removing #rowsc shifts the error forward to the second occurrence of #colsc, which is also an integer
* Changing #rowsc to #rowsc->asString (in the second occurrence) changes nothing
Help! Probably something stupid easy, but I have been staring at it too long.
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jan 21
Jolle Carlestam Re: string->invoke(string) error
Jan 21, 2015; 20:29
Jolle Carlestam
Re: string->invoke(string) error
Jan 21
Brad Lindsay Re: string->invoke(string) error
Jan 21, 2015; 15:08
Brad Lindsay
Re: string->invoke(string) error
Jan 21
Steve Piercy - Website Builder Re: string->invoke(string) error
Jan 21, 2015; 12:58
Steve Piercy - Website Builder
Re: string->invoke(string) error
Jan 21
Marc Pinnell Re: string->invoke(string) error
Jan 21, 2015; 14:10
Marc Pinnell
Re: string->invoke(string) error
Jan 21
Marc Pinnell Re: string->invoke(string) error
Jan 21, 2015; 14:13
Marc Pinnell
Re: string->invoke(string) error
Jan 22
Bil Corry Re: string->invoke(string) error
Jan 22, 2015; 15:15
Bil Corry
Re: string->invoke(string) error
Jan 22
Marc Pinnell Re: string->invoke(string) error
Jan 22, 2015; 10:39
Marc Pinnell
Re: string->invoke(string) error
Jan 22
Steve Piercy - Website Builder Re: string->invoke(string) error
Jan 22, 2015; 12:36
Steve Piercy - Website Builder
Re: string->invoke(string) error
Jan 22
Marc Pinnell Re: string->invoke(string) error
Jan 22, 2015; 12:39
Marc Pinnell
Re: string->invoke(string) error
Jan 22
Bil Corry Re: string->invoke(string) error
Jan 22, 2015; 23:19
Bil Corry
Re: string->invoke(string) error
Jan 22
Steve Piercy - Website Builder Re: string->invoke(string) error
Jan 22, 2015; 14:40
Steve Piercy - Website Builder
Re: string->invoke(string) error
Jan 22
Marc Pinnell Re: string->invoke(string) error
Jan 22, 2015; 15:25
Marc Pinnell
Re: string->invoke(string) error
Jan 23
Ke Carlton Re: string->invoke(string) error
Jan 23, 2015; 13:44
Ke Carlton
Re: string->invoke(string) error
Jan 22
Marc Pinnell Re: string->invoke(string) error
Jan 22, 2015; 16:56
Marc Pinnell
Re: string->invoke(string) error