Details

      Description

      Johnny Borg In the storage manager on line 269 a error is thrown when $filesystems is null:
      Error: Call to a member function toArray() on null.

      Another bug:
      Integrated\Bundle\ContentBundle\Document\Content\Embedded\Metadata is no instance of MetadataInterface which makes the Storage object incompatible with the StorageInterface:

      Catchable Fatal Error: Argument 4 passed to Integrated\Bundle\ContentBundle\Document\Content\Embedded\Storage::postWrite() must implement interface Integrated\Common\Content\Document\Storage\Embedded\MetadataInterface, instance of Integrated\Bundle\ContentBundle\Document\Content\Embedded\Metadata given, called in /vagrant/vendor/integrated/storage-bundle/Storage/Manager.php on line 274 and defined

      Another bug:
      Stack Trace
      in vendor/integrated/storage-bundle/Storage/Resolver.php at line 82 -
      sprintf(
      'No valid public path found for %s in filesystems: %s',
      $storage->getIdentifier(),
      implode(', ', $storage->getFilesystems())
      )
      );
      }
      at ErrorHandler ->handleError ('2', 'implode(): Invalid arguments passed', '/vagrant/vendor/integrated/storage-bundle/Storage/Resolver.php', '82', array('storage' => object(Storage), 'filesystem' => null, 'priority' => object(ArrayCollection), 'key' => 'dzg'))
      at implode (', ', object(ArrayCollection))
      in vendor/integrated/storage-bundle/Storage/Resolver.php at line 82 +
      at Resolver ->resolve (object(Storage))
      in vendor/integrated/content-bundle/Document/Content/Embedded/Storage.php at line 76 +
      at Storage ::postWrite ('4a1d49ecb5a6f90ac1bf3de47c01d817.jpg', object(ArrayCollection), object(Resolver), object(Metadata))
      in vendor/integrated/storage-bundle/Storage/Manager.php at line 274 +
      at Manager ->delete (object(Storage))
      in vendor/integrated/storage-bundle/Storage/Command/DeleteCommand.php at line 41 +
      at DeleteCommand ->execute (object(Manager))
      in vendor/integrated/storage-bundle/Storage/Manager.php at line 82 +
      at Manager ->handle (object(DeleteCommand))
      in vendor/integrated/storage-bundle/EventListener/Doctrine/ODM/FileEventListener.php at line 165 +
      at FileEventListener ->onFlush (object(OnFlushEventArgs))
      in vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php at line 63 +

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                johan Johan Liefers (Inactive)
                Code reviewer:
                Johan Liefers (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Draw.io Diagrams

                    OTM