Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: unspecified
-
Fix Version/s: None
-
Component/s: Administrative Tools
-
Labels:None
-
Environment:
Operating System: All
Platform: PC
URL: https://client.thesearchagency.com/index.php?module=acct
-
Bugzilla Id:1736
Description
The lost settings with timestamps can be seen here:
select accountChanges.changeTime, `column`, newValue, tsaUserID, sqluser from
accountChanges where accountID=225 ;
select accountChanges.changeTime, `column`, newValue, tsaUserID, sqluser from
accountChanges where accountID=17;
Reproduction steps:
1) Deactivate the CSC account
-
- This can only be reproduced by starting with a deactivated account
2) click "active" to enable the form elements
3) click "inactive" to disable the form elements
4) Click "save changes"
- This can only be reproduced by starting with a deactivated account
Explanation:
The form with disabled elements is now submitted. The Javascript thinks
"isActive" has not changed, so the rest of the form is handled normally (as if
you were just editing normal account settings). But since all of the elements
are disabled, they're all handled as blank/empty and nulls are set. The
following queries are done:
- Tier/Priority, Performance Metric, Client Provides Conversion Data, Bid
Management settings
update `tsacommon`.`accounts` set tier=null, isBidManaged=null, perfMetric=null,
providesConversionData=null where (`id` = "17");
- Ignore TSA Waypoints setting
update `tsacommon`.`sites` set ignorePixels=null where (`id` = "35");
- Channel Selection setting
delete from `st-tracker`.`accountChannelMap` where ((`accountID` = 17) and
(`channelID` = 1));