CommerceRack / backend

CommerceRack Backend Server
www.commercerack.com
MIT License
4 stars 1 forks source link

Cannot save data in the Google Syndication panel unless logged into the .zoovy domain. #50

Open FredK19 opened 9 years ago

FredK19 commented 9 years ago

TICKET SUMMARY

ISSUE: Unable to save Google syndication data to any domain other than the .zoovy.com domain. When logging into any other domain, the data appears to save, but does not.

ACCT: Partylytes

SERVER: Naboo

MVC release: 201411.b

EXAMPLE MARKETPLACE: Google

STEPS TO REPRODUCE: Log into domain partylightsplus.com (this domain is the one designated as primary) >> Marketplaces >> Google: Enter the following data: Google Shopping FTP User: partylytes Google Shopping FTP Password: party9296 Google Shopping FTP Server: uploads.google.com Google Shopping FTP Filename: products.xml

Save Changes

RESULTS:
The following messages are displayed: SUCCESS: +DISABLE Completed SUCCESS: +SAVE Completed

However, when returning to the Google configuration ui, it has reverted all fields to blank.

When clicking Save Changes: REQUEST BODY: {"_uuid":1063,"_session":"077b76c887d50d38330466e650107c97","_cmd":"pipeline","@cmds":[{"_cmd":"adminSyndicationMacro","DST":"GOO","@updates":["DISABLE","SAVE?DST=GOO&ENABLE=0&upc_exempt=0&ftp_user=partylytes&ftp_pass=party9296&ftp_server=uploads.google.com&ftp_filename=products.xml&trusted_feed=0&include_shipping=0&ignore_validation=0&SCHEDULE=&linkstyle="],"_uuid":1061}],"_clientid":"admin","_domain":"partylightsplus.com","_userid":"support/fredk@partylytes","_deviceid":"pibY8pZL4nfuFAGPMRHj9jB5RrNYMg5H","_authtoken":"1|EjKvCsdfVvgrc1gabL7RXQqD|31540b606bf16fc3ddac698c4e16c154f810c3f5","_version":"201411"}

RESPONSE BODY: {"_rcmd":"pipeline","_uuid":1063,"@rcmds":[{"@RESPONSES":[{"msg":"+DISABLE Completed","msgsubtype":"SUCCESS","macro":"DISABLE","msgtype":"SUCCESS","line":0},{"msg":"+SAVE Completed","msgsubtype":"SUCCESS","macro":"SAVE?DST=GOO&ENABLE=0&upc_exempt=0&ftp_user=partylytes&ftp_pass=party9296&ftp_server=uploads.google.com&ftp_filename=products.xml&trusted_feed=0&include_shipping=0&ignore_validation=0&SCHEDULE=&linkstyle=","msgtype":"SUCCESS","line":1}],"_uuid":1061,"_msgs":1,"_msg_1_id":0,"_rcmd":"adminSyndicationMacro","_rtag":null,"_msg_1_type":"success","_msg_1_txt":null}]}

NOTES: The data saves successfully in the ui when logged into the partylytes.zoovy.com domain.

michaelchance commented 9 years ago

@brianhorakh I'm not sure what the issue here is- the api requests and responses look good from where I'm looking at them. It seems like saving the settings arbitrarily works on domains "partylights.zoovy.com" and "partybrights.com" while failing on the others (ex: "partylightsplus.com").

Only thing I can think of would be if the "_domain" component isn't getting read properly? It's being set at the top level of the api request, instead of in the individual request.