Thank you for the great bundle! I followed the instructions for installation using annotations and everything worked perfectly until I tried to change the table names for the tag and tagging entities.
After the database was updated for the new table names I attempted to load fixtures and an exception was thrown with a message indicating the "Tag" table did not exist.
To make a long story short, I was able to resolve this problem by adding a leading "" to the model: definitions in config.yml
fpn_tag:
model:
tag_class: \Acme\TagBundle\Entity\Tag
tagging_class: \Acme\TagBundle\Entity\Tagging
Alternatively, l think that the leading "" could be added in FPNTagBundle/Reources/config/orm.xml
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="fpn_tag.tag_manager.class">FPN\TagBundle\Entity\TagManager</parameter>
<parameter key="fpn_tag.entity.tag.class">FPN\TagBundle\Entity\Tag</parameter>
<parameter key="fpn_tag.entity.tagging.class">FPN\TagBundle\Entity\Tagging</parameter>
</parameters>
<services>
<service id="fpn_tag.tag_manager" class="%fpn_tag.tag_manager.class%">
<argument type="service" id="doctrine.orm.entity_manager" />
<argument>\%fpn_tag.entity.tag.class%</argument>
<argument>\%fpn_tag.entity.tagging.class%</argument>
<argument type="service" id="fpn_tag.slugifier" />
</service>
</services>
</container>
I'd be happy to submit a PR for either.
Thank you for the great bundle! I followed the instructions for installation using annotations and everything worked perfectly until I tried to change the table names for the tag and tagging entities.
After the database was updated for the new table names I attempted to load fixtures and an exception was thrown with a message indicating the "Tag" table did not exist.
To make a long story short, I was able to resolve this problem by adding a leading "" to the model: definitions in config.yml
Alternatively, l think that the leading "" could be added in FPNTagBundle/Reources/config/orm.xml
I'd be happy to submit a PR for either.