Owner of order changed

2 replies [Last post]
cabita
Offline
Joined: 06/09/2011
Status: 
Answered

Hi,

when I am logged in as superuser  "Admin" I can click on the other username and change the current user (Admin), to works like another user. I have edited an order  (/admin/moneyscripts/orders/list) with this user (the user different than Admin), and when I saw the Order list again,  I saw that the order's owner of the order that was edited now is "Admin" and not the original user. How is possible to recovery the original user asigned to the order? this issue could have other implications in 'Pay to Publish' or 'Money Script process?.

 

I'm sorry my english. Thanks very much for your attention.

Leighton Whiting
Offline
Joined: 06/02/2009
cabita,   I'm trying to

cabita,

 

I'm trying to understand your problem. Are you using the Devel module to switch user while editing an order? The only way I can think of that the order owner would be changed to 'Admin' would be if you typed in Admin in the Username field when editing the order.

 

If the order owner was changed, you can simply change it back, but there is no way to recover which user owned the order in the first place at this point. You can try looking at the payments for the order and see which email address was used for the order, and then see which user matches up with that email address.

 

MS Core 2.1 now uses Entities. In the future, this will be expanded to allow for revisions of orders, which would help in situations like this.

 

Sincerely,

Leighton Whiting

cabita
Offline
Joined: 06/09/2011
Thanks for your fast an clear

Thanks for your fast an clear answer

 

after a write the respective user over the respective order, each order has now his owner again. I want to tell that I have saw that, related with the issue, not only the user was overwrited, the email located in the order also is of Admin user. I guess that was an issue related with the temporal variables of drupal, I am not sure.

 

About how was changed the user without logout, indeed was the boss that have the issue (The task made by the boss was only edit the order using the Admin user). (also Devel module is not installed in the site).

 

tons of thanks for your help

Twitter Feed