Skip to content
Snippets Groups Projects
Commit 35ab4122 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #37078 fix fatal error on real exec

parent 606b3347
Branches
Tags
10 merge requests!1587Master,!1553Master,!1519Master,!1502Master,!1501Stable,!1491Master,!1490Hotline master,!1472Stable,!1468Stable,!1462Hotline#37078 cosmogramme le lien de generation de site nanook ne cree pas les imports paniers
......@@ -423,6 +423,7 @@ class Cosmo_IntegrationControllerGenerateActionNanookPostTest
*/
public function library1ShouldHeveItemDeletionPlanned($profile) {
$this->assertNotNull(Class_IntMajAuto::findFirstBy(['id_bib' => 20,
'rang' => 2001,
'profil' => $profile->getId(),
'type_operation' => Class_IntMajAuto::OP_ITEMS_DELETION,
'nom_fichier' => '../ftp/transfert/library1/site20/suppressions.txt']));
......
......@@ -437,13 +437,13 @@ class Class_Cosmogramme_GeneratorPlannedAbstract {
protected function planWith($name, $profile, $type, $file) {
$this->_html .= '<tr><td class="blank">Site n° '. $this->_id_bib . '</td><td class="blank">' . $name . '</td></tr>';
$this->_id_prog++;
Class_IntMajAuto::newInstance(['id_bib' => $this->_id_bib,
'id_prog' => $this->_id_prog++,
'libelle' => $name,
'profil' => $profile,
'type_operation' => $type,
'nom_fichier' => $this->_base_path . $file,
'rang' => $id])
'rang' => $this->_id_prog])
->save();
return $this;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment