Browse Source

Merge branch 'hotfix-disappear-vlan' into 'master'

Fixed problem when us delete a template and delete also vlanID

See merge request interlink-sa/flowdat3/modules/ftth!167
Jean Sumara Leopoldo 5 years ago
parent
commit
161818babf
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/FTTHBundle/Entity/ONUTemplate.php

+ 1 - 3
src/FTTHBundle/Entity/ONUTemplate.php

@@ -72,7 +72,7 @@ class ONUTemplate implements TenancyIdTraitInterface
     /**
      * Se agrega para casos en que tenga varias vlans
      *
-     * @ORM\ManyToMany(targetEntity="\FTTHBundle\Entity\VLanID", cascade={"all"})
+     * @ORM\ManyToMany(targetEntity="\FTTHBundle\Entity\VLanID")
      * @ORM\JoinTable(name="onutemplate_vlanids",
      *      joinColumns={@ORM\JoinColumn(name="onu_template_id", referencedColumnName="id", onDelete="CASCADE")},
      *      inverseJoinColumns={@ORM\JoinColumn(name="vlanid_id", referencedColumnName="id", onDelete="CASCADE")})
@@ -127,7 +127,6 @@ class ONUTemplate implements TenancyIdTraitInterface
      */
     protected $catv = true;
 
-
     /**
      * Constructor
      */
@@ -191,7 +190,6 @@ class ONUTemplate implements TenancyIdTraitInterface
         return $this;
     }
 
-
     /**
      * Get updated
      *