developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#1057 closed bug (fixed)
Dao storage for jSession doesn't support very well serialized objects
Reported by: | laurentj | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.1.6 |
Component: | jelix:dao | Version: | 1.1.4 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
The problem of the serialization, is that the resulting string could contain binary data. For protected method, PHP serialized the name, by prepending it with a null char + "*" + null char.
To fix this issue :
- we should add the support of binary field in jDao
- we should add the support of binary values in jDbConnection::quote
Change History (2)
comment:1 Changed 11 years ago by laurentj
- Documentation needed set
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 11 years ago by laurentj
- Documentation needed unset
Note: See
TracTickets for help on using
tickets.
fixed in the trunk and 1.1.x branch:
Added the support of a "varbinary" datatype in jDao, and with the jDbConnection::quote(). Added also a support of "modifier" on jDbResultSet, wich allow to provides a callback function which could modify some field on records during the fetch.