mandriva

Ticket #806 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Check field length before injecting

Reported by: nrueff Owned by: oroussy
Priority: Normal Milestone: 1.2.5
Component: pulse2-inventory-server Version: 1.2.4
Severity: Minor Keywords:
Cc:

Description

Related with #805 : since SA analyses the inventory database structure, it should be easy to use the information to know fields length, and truncate data as needed, ie before mysql.

Attachments

Change History

Changed 21 months ago by oroussy

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from Dispatch Me ! to 1.2.5

corrected in :

  • mmc-projects r6869 - pulse2/server/trunk/services/pulse2/database/inventory
  • pulse2-common r244 - branches/PULSE_1_2_5/pulse2/database/inventory

The data length is checked before putting it in the database to avoid a crash message, if it's too big, it's truncated and then the check on the duplicate is done (we still don't want to have more than one time every inventory element). A warning message is displayed to ask to us to increase the field size.

Add/Change #806 (Check field length before injecting)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.