Leeres doctrine-Model im Cache

Hallo zusammen, immer wenn die Doctrine Attribute Models unter /cache/doctrine/attributes neu generiert werden, wird auch ein Model mit dem Namen „.php“ erstellt mit folgendem Inhalt: [code]<?php /**

  • Shopware 4
  • Copyright © shopware AG
  • According to our dual licensing model, this program can be used either
  • under the terms of the GNU Affero General Public License, version 3,
  • or under a proprietary license.
  • The texts of the GNU Affero General Public License with an additional
  • permission and of our proprietary license can be found at and
  • in the LICENSE file you have received along with this program.
  • This program is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU Affero General Public License for more details.
  • „Shopware“ is a registered trademark of shopware AG.
  • The licensing of the program under the AGPLv3 does not imply a
  • trademark license. Therefore any rights, title and interest in
  • our trademarks remain entirely with us.
    */

namespace Shopware\Models\Attribute;
use Shopware\Components\Model\ModelEntity,
Doctrine\ORM\Mapping AS ORM,
Symfony\Component\Validator\Constraints as Assert,
Doctrine\Common\Collections\ArrayCollection;

/**

  • @ORM\Entity

  • @ORM\Table(name=„bck_s_media_attributes“)
    */
    class extends ModelEntity
    {

    /**

    • @var integer $id
    • @ORM\Id
    • @ORM\GeneratedValue(strategy=„IDENTITY“)
    • @ORM\Column(name=„id“, type=„integer“, nullable=false)
      */
      protected $id;

    /**

    • @var integer $Id
    • @ORM\Column(name=„mediaID“, type=„integer“, nullable=true)
      */
      protected $Id;

    public function getId()
    {
    return $this->id; } public function setId($id) { $this->id = $id; return $this; } public function getId() { return $this->id; } public function setId($id) { $this->id = $id; return $this; } public function get() { return this-\>; } public function set() { this-\> = ; return $this; } }[/code] Was natürlich zu einem Fehler führt, sobald die Datei geparsed wird, was z.B. dann geschieht wenn man ein Plugin updated, was die Attribute verändert. Das führt dann zu einem Fehler und das Plugin-Update schlägt fehl. Aufgefallen ist das ganze bei einem Update des PayONE-Plugins. Löscht man die „.php“-Datei haben wir solange Ruhe, bis die Attribute wieder neu generiert werden. Hat jemand eine Idee woran das liegen könnte? An welcher Stelle werden diese Models generiert? Danke und Grüße Dirk

Beim durchlesen meines Posts habe ich den Tabellennamen gefunden und daraufhin mal alle bck-Tabellen gelöscht, damit wird auch die .php Datei nicht mehr generiert. Ich glaube die bck-Tabellen gehören zum Staging-System!?