Propel2 icon indicating copy to clipboard operation
Propel2 copied to clipboard

Different map folder in Windows and Linux when running model:build command

Open maxcav7 opened this issue 11 years ago • 2 comments

When you run model:build in Windows, the folder name for map files is "Map" (with the letter "M" in uppercase) but when you publish the project in a linux server, propel is searching map files in "map" folder (with the letter "m" in lowercase.

To solve this, you must run model:build in the linux server to create the "map" folder with the letter "m" in lowercase because linux file system case sensitive.

maxcav7 avatar Oct 21 '14 07:10 maxcav7

Well, it's actually correct that the Map is written with uppercased M. Our test suite runs on a linux as well, where the name works beautifully as well as with my local osx machines. What do you mean "publish" to linux server? We generate everywhere table map classes with uppercased M. Propel does not search for classes, it is done by your autoloader. How look your file names + their containing php class names?

marcj avatar Oct 21 '14 19:10 marcj

Is this still relevant or can it be closed?

dereuromark avatar Jul 01 '20 13:07 dereuromark