tel8618217223380 / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

TActiveHyperlink callback is broken (regression from r2899) #320

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Place a TActiveHyperLink on a page
2. Test its callback method

What is the expected output? What do you see instead?
Expected: execution of the callback
Instead:
Fatal error:  Call to a member function flush() on a non-object in 
framework/Web/UI/ActiveControls/TActiveHyperLink.php on line 71

What version of the product are you using? On what operating system?
It happens only in trunk/ (3.1.7 is not affected) and is caused by a change 
made in r2899: 
http://code.google.com/p/prado3/source/diff?spec=svn2899&r=2899&format=side&path
=/trunk/framework/Web/UI/ActiveControls/TActiveHyperLink.php
Since the $textWriter variable does not exist anymore after the patch, it can't 
be used in line 71

Please provide any additional information below.

Original issue reported on code.google.com by ctrlal...@gmail.com on 10 May 2011 at 10:27

GoogleCodeExporter commented 9 years ago
Eek ... missed that one ;)
Fixed in r2902.

Original comment by rojaro@gmail.com on 10 May 2011 at 12:05