תיאור
בעיה שקשורה לשינוי של זמן היצירה מתרחשת כשערכי review
או merchant
שונים בין עדכונים. השדה 'זמן יצירה' הוא שדה שלא ניתן לשינוי, ולכן שינויים בזמן היצירה יגרמו לבעיה הזו.
איך לתקן
כדי לפתור את הבעיה, בוחרים באחת מהאפשרויות הבאות:
אפשרות א':
אם רוצים להשתמש בזמן היצירה המקורי, צריך לשלוח מחדש את review
או את merchant
עם create_timestamp
המקורי ועם last_update_timestamp
המעודכן.
אפשרות ב':
אם רוצים להשתמש בזמן יצירה חדש, צריך לשלוח מחדש את review
או את merchant
עם create_timestamp
חדש וlast_update_timestamp
מעודכן. לאחר מכן, מודיעים לצוות התמיכה את שם הקובץ שמכיל את הרשומה. צוות התמיכה יכול לעזור לפתור את הבעיה הזו.
דוגמה
ב-1 במרץ, אתם מעלים את קובץ הפיד 2017_03_01.xml לנקודת הקצה. הקובץ מכיל רשומה של ביקורת שלא נשלחה בעבר:
<review id="156368" mid="2739"> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-25T03:02:23Z</create_timestamp> <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10">9</overall> <customer_service min="1" max="10">10</customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>
למחרת, אתם שולחים את קובץ הפיד הבא, 2017_03_02.xml, שמעדכן את זמן היצירה של הביקורת 156368:
<review id="156368" mid="2739> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-26T11:01:42Z</create_timestamp> <last_update_timestamp>2017-02-26T11:01:42Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices!</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10">9</overall> <customer_service min="1" max="10">10</customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>
הכניסה השנייה לבדיקה '156368' יוצרת התנגשות בזמן היצירה. מקבלים הודעה מצוות התמיכה על בעיה בנתונים.
אחרי שקוראים את התיעוד בנושא פתרון הבעיה הזו, בוחרים באפשרות א' כדי לשנות את זמן היצירה בחזרה לערך המקורי. זמן היצירה המקורי היה 2017-02-25T03:02:23Z, לכן אתם שולחים את קובץ הפיד הבא 2017_03_10-fix.xml ב-10 במרץ:
<review id="156368" mid="2739"> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-25T03:02:23Z</create_timestamp> <last_update_timestamp>2017-03-09T02:40:23Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices!</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10>9</overall> <customer_service min="1" max="10">10</customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>