Typo in latest commit for trackerlib.php
- Status
- Closed
- Subject
- Typo in latest commit for trackerlib.php
- Version
- 12.x
- Category
- Error
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- taylordustin
- Lastmod by
- Louis-Philippe Huberdeau
- Rating
- Description
There was a typo introduced in a commit made on Aug. 15, 2014 to the file ~/lib/trackers/trackerlib.php
I noticed that the latest commit had broken our Tracker plugin on a couple of our pages, and after doing some digging, found that a typo in a variable had been introduced.In the code:
if (! $skip_permission_check) {
$itemObject = Tracker_item::fromInfo($res);
if (! $itemObject->canView()) {
$cant--;
continue;
}
}On line 1291, the variable 'Tracker_item' should in fact be 'Tracker_Item' , with a capital I in Item.
- Importance
- 5
- Easy to solve?
- 10 easy
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5436
- Created
- Tuesday 19 August, 2014 16:11:07 UTC
by taylordustin - LastModif
- Wednesday 20 August, 2014 16:16:24 UTC