חותמת זמן לא חוקית

תיאור

בעיה לא חוקית בחותמת הזמן מתרחשת כאשר review או merchant מכיל create_timestamp או last_update_timestamp שאינו חוקי או כאשר create_timestamp חל אחרי last_update_timestamp.

איך לתקן

עליך לספק את review או merchant כדי לוודא ש-create_timestamp ו-last_update_timestamp תקפים.

דוגמה

ב-1 במרץ מעלים את קובץ הפיד "2017_03_01.xml" לנקודת הקצה. הקובץ מכיל את התוכן הבא:

<merchant id="2739">
  <name>Google Store</name>
  <merchant_url>http://store.google.com</merchant_url>
  <rating_url>http://www.example-reviews.com/m2739.html</rating_url>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:01:32Z</last_update_timestamp>
</merchant>

הקובץ שלמעלה מכיל רשומה של merchant שהcreate_timestamp שלה אחרי last_update_timestamp. אחרי עיבוד הפיד, צוות התמיכה מיידע אתכם על כך שהתגלתה בעיה בנתונים, חותמת זמן לא חוקית.

כמה ימים לאחר מכן, לאחר עיון בתיעוד, אתה מעלה את הקובץ "2017_03_04-fix.xml" אל נקודת הקצה שלך כדי לפתור את בעיית הדירוג הלא חוקי:

<merchant id="2739">
  <name>Google Store</name>
  <merchant_url>http://store.google.com</merchant_url>
  <rating_url>http://www.example-reviews.com/m2739.html</rating_url>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp>
</merchant>