Bug #2876
1.6.0 not fully ready for GLPI 0.78+
Status: | New | Start date: | 06/16/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
Adding a new connection gives this error:
PHP Fatal error: Class 'PluginConnectionsConnectionRate' not found in inc/db.function.php on line 290
and forms is missing some fields and submit button.
That's due to the need for singular forms in class names in GLPI 0.78+
Attached patches fix this.
History
#1 Updated by CDuv almost 7 years ago
Changes of patches 0001-Rename-files-to-respect-singular-form-needed-for-GLP.patch and attachment:0002-Rename-class-to-use-singular-form-needed-for-GLPI-0..patch were applied in r7 (frankly: didn't saw theses patches before commmiting r7).
However I don't get the meanings of 0003-Add-missing-file.patch and the ajax/dropdownRatesConnections.php
part of attachment:0002-Rename-class-to-use-singular-form-needed-for-GLPI-0..patch:
diff --git a/ajax/dropdownRatesConnections.php b/ajax/dropdownRatesConnections.php index 7762294..12770ae 100755 --- a/ajax/dropdownRatesConnections.php +++ b/ajax/dropdownRatesConnections.php @@ -65,8 +65,8 @@ if (isset($_POST["plugin_connections_connectionrates_id"])) { ); $default="<select name='".$_POST["myname"]."'><option value='0'>".DROPDOWN_EMPTY_VALUE."</option></select>"; - ajaxDropdown($use_ajax,"/plugins/connections/ajax/dropdownRatesConnections.php",$params,$default,$rand); + ajaxDropdown($use_ajax,"/plugins/connections/ajax/dropdownConnections.php",$params,$default,$rand); } -?> \ No newline at end of file +?>