TINP deprecation: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(* bad TINO range - removed 2014-10-08)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
P R O P O S A L
This is related to [[TINP fix]].


Proposal:
* store the new TINP values in the DB
* deliver them via the tagger


For each 1:1 replacement (full product gets a new TINP and the new TINP only refers to that product) deliver the new TINP for any TINT-specific tag-set.
==Reasons for deprecation==
* wrong TINP
** found on cover but invalid
** typo
* GTIN for a TINO found


To be decided:
Former reasons:
* name of the variable to obtain the new TINP
* bad TINO range - removed 2014-10-08


Proposals:
==Process==
* tinp_replacement
Order undefined.
* tinp_new
* log deprecations in [[TINP fix]]
* change the TINP in the database
* keep old TINP in the product table but change values
** collection name = _deprecated_
** product name contains at minimum: string "deprecated", new TINP if any. It can also contain a reason
** other values removed


==Database design==
==Tagger==
Create a new table named "tinp_replacement" or similar.
For each 1:1 replacement (full product gets a new TINP and the new TINP only refers to that product) deliver the replacement TINP for input lines that consist of a TINT.
===Tag name===
* Choose tag name:
** tinp_new - different meaning, e.g. could be new TINP that is not a replacement
** tinp_replacement
* create tag "tinp_replacement"
** Done in 1.3.5
 
==Database==
The database contains a table named "tinp_deprecation".

Latest revision as of 2014-10-08T18:08:04


Reasons for deprecation

  • wrong TINP
    • found on cover but invalid
    • typo
  • GTIN for a TINO found

Former reasons:

  • bad TINO range - removed 2014-10-08

Process

Order undefined.

  • log deprecations in TINP fix
  • change the TINP in the database
  • keep old TINP in the product table but change values
    • collection name = _deprecated_
    • product name contains at minimum: string "deprecated", new TINP if any. It can also contain a reason
    • other values removed

Tagger

For each 1:1 replacement (full product gets a new TINP and the new TINP only refers to that product) deliver the replacement TINP for input lines that consist of a TINT.

Tag name

  • Choose tag name:
    • tinp_new - different meaning, e.g. could be new TINP that is not a replacement
    • tinp_replacement
  • create tag "tinp_replacement"
    • Done in 1.3.5

Database

The database contains a table named "tinp_deprecation".