laminas-api-tools / api-tools-skeleton

Skeleton Application for Laminas API Tools
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
50 stars 64 forks source link

Unable to use certain validation types. #13

Open weierophinney opened 4 years ago

weierophinney commented 4 years ago

When I try to save certain validation types IsInt, PostalCode, Phone Number and some others, I receiving an error saying that the file could not be saved.


Originally posted by @coltcox at https://github.com/zfcampus/zf-apigility-skeleton/issues/116

weierophinney commented 4 years ago

Hello,

It may be not the Apigility error.

As you have not specified the OS I do assume that you use some Unix based system.

Sometimes I do experience similar problem [with Linux] and every time it happens because of the project files` permissions.

It happens often when I do composer update with IDE or with CLI as my primary username. In such a situation apigility as www-data:www-data as no permissions to operate on config files.

I hope it will help others.


Originally posted by @jamjan at https://github.com/zfcampus/zf-apigility-skeleton/issues/116#issuecomment-253922470