View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006102 | SOGo | Backend Address Book | public | 2025-03-22 15:30 | 2025-03-25 15:51 |
Reporter | zhb | Assigned To | qhivert | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | 5.11.2 | ||||
Summary | 0006102: How can i map a DATE type SQL column to birthday? | ||||
Description | Dear developers, I create VIEW for sogo user authentication and address book, there's a For example, the SQL table:
Create VIEW for SOGo:
In debug mode, SOGo reports error like this:
If i create the VIEW with
So, how can i correctly map a DATE type column to birthday in SOGo? | ||||
Tags | No tags attached. | ||||
By the way, i inserted correct birthday for testing, for example, '2025-03-22'. |
|
Sorry i missed one log line, the full log with
|
|
Also, it doesn't display first name and last name too. SQL table:
Create VIEW for SOGo: CREATE OR REPLACE VIEW users ( |
|
Hello, its seems that with a sql usersource you will need three int columns:
|
|
Hi @qhivert, Thanks for helping. You're correct. For MariaDB, i have to create view with sql command like below:
For PostgreSQL: |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-22 15:30 | zhb | New Issue | |
2025-03-22 15:31 | zhb | Note Added: 0018138 | |
2025-03-22 15:33 | zhb | Note Added: 0018139 | |
2025-03-22 15:42 | zhb | Note Added: 0018140 | |
2025-03-25 13:02 | qhivert | Note Added: 0018152 | |
2025-03-25 13:02 | qhivert | Assigned To | => qhivert |
2025-03-25 13:02 | qhivert | Status | new => feedback |
2025-03-25 15:51 | zhb | Note Added: 0018153 | |
2025-03-25 15:51 | zhb | Status | feedback => assigned |