Sulu: Invalid namespace import

Created on 18 Oct 2016  路  8Comments  路  Source: sulu/sulu

| Q | A |
| --- | --- |
| Bug? | yes |
| New Feature? | no |
| Sulu Version | 1.3.x |
| Browser Version | Not relevant |

Actual Behavior

Whenever the autoloader loads src/Sulu/Bundle/MediaBundle/Entity/Media.php a fatal error is triggered.

Steps to Reproduce

Autoload the class

Possible Solutions

Backport https://github.com/sulu/sulu/commit/3a6c999c4a8f0d5d3ff094471b2023efe856f82c to the 1.3.x release branch

Most helpful comment

The doctrine collection conflicts with the media collection (which is in the same folder as the media entity), because it was only used for annotation I did remove this in #2513 which is currently only in the 1.4.x rc. We could do this fix also for 1.2.x and 1.3.x. /cc @wachterjohannes @chirimoya

All 8 comments

The doctrine collection conflicts with the media collection (which is in the same folder as the media entity), because it was only used for annotation I did remove this in #2513 which is currently only in the 1.4.x rc. We could do this fix also for 1.2.x and 1.3.x. /cc @wachterjohannes @chirimoya

@alexander-schranz will you create a HOTFIX for these two versions?

@wachterjohannes PR for 1.3 done for 1.2 is no one required.

Can we expect a hotfix release soon?

@sagikazarmark Seems as this have already been in the 1.3.2 release, so I am closing this issue.

@danrot I would say this is quite a bug which should be fixed downstream (AFAIK already done, not sure if a hotfix has been released or not).

@sagikazarmark According to the changelog it has been released 馃槈

Awesome, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mtnorthrop picture mtnorthrop  路  6Comments

lightglitch picture lightglitch  路  11Comments

alexander-schranz picture alexander-schranz  路  4Comments

MichelFalke picture MichelFalke  路  5Comments

Quehnie picture Quehnie  路  9Comments