ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
497 stars 343 forks source link

When using the ZfcUserDisplayName view helper and empty field #632

Open stijnhau opened 8 years ago

stijnhau commented 8 years ago

When using the ZfcUserDisplayName helper i have no data in some column like DisplayName because i don't use it but the data is empty and not NULL so it is always shown. Is this corrzect behaviour because according to me the checks in the viewHelepr shoudl be extended to fallback when there is no data and not only NULL

stijnhau commented 8 years ago

The database sheme could also be altered to make the default value NULL in stead of empty. Here we can disccus both option and decide what is best

stijnhau commented 8 years ago

Any comment on this problem?