OSCommerce Product Manager

OSCommerce Product Manager for Windows

FS#344 - Table names should be retrieved server-side

Attached to Project: OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Saturday, 02 June 2007, 12:53 GMT-5
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 08 July 2007, 19:26 GMT-5
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Low
Priority Immediate
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The database table names are configured client-side. That is not really needed (and it is error-prone), as the server-side script can retrieve the names and send them to the client application.

That would simplify the configuration interface.

The table names could be sent during a CAPA instruction (which currently only retrieves known osCommerce extensions).

Pendint to design.
This task depends upon

Closed by  Mario A. Valdez-Ramirez (mvaldez)
Sunday, 08 July 2007, 19:26 GMT-5
Reason for closing:  
Comment by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 08 July 2007, 19:26 GMT-5
Closing as Implemented.

We added a new function/operation named TABLES; the server-side script try to retrieve the known list of database tables and returns them as a list of name / value pairs.

The client application request the TABLES operation just after the CAPA and it fails if it is not available.

We have deleted the last Configuration window tab, as it is no longer needed. Also added more space (via a Memo field) to the About window so the user can check what tables are found when connected.