change good content id for category associated content
change content if on product associated content
fix associations tab in product modification page
put correct error messages in Document loop
add missing close block
Merge pull request #191 from lunika/186-back-office-impossible-to-delete-related-content

This PR was merged into thelia:master branch.

Discussion
----------

Fix associations with category, product and content

+---------------+------+
| Q             | A    |
| ---           | ---  |
| Bug fix?      | y    |
| New feature?  | n    |
| BC breaks?    | n    |
| Deprecations? | n    |
| Tests pass?   | y    |
| Fixed tickets | #186 |
| License       | GPL  |
| Doc PR        |      |
+---------------+------+


Commits
-------

502b149d3283f9dc9ff84e3f529d0485e75845da change good content id for category associated content lunika
87bc1a83aa9dd379608aa7696453b6e3f55c19e3 change content if on product associated content lunika
91cf069313e6b5c05e436e3d07f8c530aa6a442d fix associations tab in product modification page lunika
d573ff54c269f34579eaf9bf12d5eedf6977a047 put correct error messages in Document loop lunika
ce0fbb11a1bc57565536e09ed345b2019b1168cf add missing close block lunika