OSCommerce Product Manager for Windows
FS#98 - Get field sizes directly from the database.
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Saturday, 28 August 2004, 23:52 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Monday, 06 September 2004, 07:19 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Saturday, 28 August 2004, 23:52 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Monday, 06 September 2004, 07:19 GMT
|
DetailsAn user reported in the forums that his store uses customized field length (for the product model, at least). The OSCPMWin uses fixed values as defined in the osCommerce documentation.
Proposed solution is to read once (at start up) the field sizes from the database and use the current values as defaults only. As there is no workaround for this, and assuming lot of OSC facilities are using modified tables, I think (on quick triage) this is Severity = "Major". |
This task depends upon
Closed by Mario A. Valdez-Ramirez (mvaldez)
Monday, 06 September 2004, 07:19 GMT
Reason for closing:
Monday, 06 September 2004, 07:19 GMT
Reason for closing:
We can get field sizes parsing "SHOW COLUMNS FROM table".
Format of the second column (type) is datatypename(size).
This has proven to be more difficult than what I anticipated. Specially with the new SQL-HTTP backend I'm implementing.
I'm deferring the final solution for this. In the mean time, I'm relaxing the max field limit of the model field (which is different in the CRE Loaded 6 version of osCommerce).
Deferred. Closed.