Closed
Bug 375099
Opened 17 years ago
Closed 17 years ago
minVersion altered during additem
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.0
People
(Reporter: fligtar, Assigned: fligtar)
References
Details
A minVersion of 2.0 in install.rdf is changed to 2.0b1 during additem process.
Assignee | ||
Comment 1•17 years ago
|
||
find(array('application_id' => $matchingApp['Application']['id'], 'version' => "{$appVal['minVersion']}"), null, null, -1); was coming out as: SELECT `Appversion`.`id`, `Appversion`.`application_id`, `Appversion`.`version`, `Appversion`.`created`, `Appversion`.`modified` FROM `appversions` AS `Appversion` WHERE (`application_id` = 1) AND (`version` = 2.0) LIMIT 1 which returned the closest thing it could find since 2.0 wasn't in quotes. Changed it to not use Cake so much and it works now: $matchingMinVers = $this->controller->Appversion->find("application_id={$matchingApp['Application']['id']} AND version='{$appVal['minVersion']}'", null, null, -1);
Assignee | ||
Comment 2•17 years ago
|
||
Committed.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•