ProxyFactory: do not generate long file names - #10893
Conversation
eaef051 to
8199a04
Compare
|
Thank you. Can you please have a look at the failing test? It looks related. Furthermore, I think we should document this change in the UPGRADE.md file. |
|
Also, please have a look at the Thanks for the hint, @nicolas-grekas! |
8199a04 to
1b37955
Compare
|
I'm not sure how to solve the I updated the original PR in doctrine/common to change the |
|
That's difficult indeed. So maybe, we won't get around changing doctrine/common after all. We could release a new version of doctrine/common with the new file name mapping and then have ORM 2.17 depend on that new release. |
|
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
|
This pull request was closed due to inactivity. |
This is a follow up to doctrine/common#1005, because the logic was moved from doctrine/common to doctrine/orm in 2.17.
The maximum file name length when using eCryptfs is 143 bytes. This causes issues with Doctrine proxies where with current implementation this limit can be exceeded.
This PR changes how proxy file name is generated to avoid hitting this limit.