Developer forum

Forum » Development » Viewstate is saved to Globalsettings

Viewstate is saved to Globalsettings

Anders Ebdrup
Anders Ebdrup
Reply

Hello dw,

 

When editing values in management center for e.g. this page "Admin/Module/UserManagement_cpl.aspx", then values for "__VIEWSTATE" and "__VIEWSTATEGENERATOR" is added to GlobalSettings.aspx each time.

Will it be possible to remove these values?

And then editing this page: "/Admin/Module/eCom_Catalog/dw7/edit/EcomAdvConfigGeneral_Edit.aspx" I get these values added to GlobalSettings:

  <__VIEWSTATE>/wEPDwUJNTQxMTA0MDA3DxYCHhNWYWxpZGF0ZVJlcXVlc3RNb2RlAgFkZH6uhs7VwOrvL0E/tjZIgWPen38AniCTBvjX3CNaZKmK</__VIEWSTATE>
  <__VIEWSTATEGENERATOR>001BF939</__VIEWSTATEGENERATOR>
  <ctl00_MainContent_>
    <Globalsettings>
      <Ecom>
        <Cart>
          <AllowDifferentContextDates>
          </AllowDifferentContextDates>
        </Cart>
      </Ecom>
    </Globalsettings>
  </ctl00_MainContent_>
  <ctl00_MainContent_ApplyOnliyIfPageIsInPath>
  </ctl00_MainContent_ApplyOnliyIfPageIsInPath>
  <ctl00_MainContent_CalcProductCountForGroup>
  </ctl00_MainContent_CalcProductCountForGroup>
  <ctl00_MainContent_ApplyStartAndEndLevelToNavigation>
  </ctl00_MainContent_ApplyStartAndEndLevelToNavigation>
  <ctl00_MainContent_UseOnlyCustomNavigationProvider>
  </ctl00_MainContent_UseOnlyCustomNavigationProvider>
  <ctl00_MainContent_DontUseDefaultLanguageIsNoProductExists>
  </ctl00_MainContent_DontUseDefaultLanguageIsNoProductExists>
  <ctl00_MainContent_ActivateProductsOnAllLanguageVersions>
  </ctl00_MainContent_ActivateProductsOnAllLanguageVersions>
  <ctl00_MainContent_DontShowProductIfNotOnStock>
  </ctl00_MainContent_DontShowProductIfNotOnStock>
  <ctl00_MainContent_DontShowProductIfHasNoPrice>
  </ctl00_MainContent_DontShowProductIfHasNoPrice>
  <ctl00_MainContent_DontAllowLinksToProductIfNotActive>
  </ctl00_MainContent_DontAllowLinksToProductIfNotActive>
  <ctl00_MainContent_DontShowVariantIfNotOnStock>
  </ctl00_MainContent_DontShowVariantIfNotOnStock>
  <ctl00_MainContent_DontShowVariantIfHasNoPrice>
  </ctl00_MainContent_DontShowVariantIfHasNoPrice>
  <ctl00_MainContent_DontAllowLinksToVariantIfNotActive>
  </ctl00_MainContent_DontAllowLinksToVariantIfNotActive>
  <ctl00_MainContent_CacheProductCollection>
  </ctl00_MainContent_CacheProductCollection>
  <ctl00_MainContent_UseDeliveryCountryOnShippingFee>
  </ctl00_MainContent_UseDeliveryCountryOnShippingFee>
  <ctl00_MainContent_UseDeliveryCountryOnPaymentFee>
  </ctl00_MainContent_UseDeliveryCountryOnPaymentFee>
  <ctl00_MainContent_BulkEditForProductVariant>
  </ctl00_MainContent_BulkEditForProductVariant>
  <ctl00_MainContent_ShowBackCatalogFields>
  </ctl00_MainContent_ShowBackCatalogFields>
  <ctl00_MainContent_ConsolidateTaxesForProducts>
  </ctl00_MainContent_ConsolidateTaxesForProducts>
  <ctl00_MainContent_ConsolidateTaxesForOrder>
  </ctl00_MainContent_ConsolidateTaxesForOrder>
  <ctl00_MainContent_AllowEditOrderForUsers>
  </ctl00_MainContent_AllowEditOrderForUsers>
  <ctl00_MainContent_AllowExceedOriginalOrderPrice>
  </ctl00_MainContent_AllowExceedOriginalOrderPrice>
  <ctl00_MainContent_DisableDeleteButtonForOrders>
  </ctl00_MainContent_DisableDeleteButtonForOrders>
  <ctl00_MainContent_DisableDeleteGroupsAndProductsBtn4AllUsers>
  </ctl00_MainContent_DisableDeleteGroupsAndProductsBtn4AllUsers>
  <ctl00_MainContent_DisableCreationNewProductVariant>
  </ctl00_MainContent_DisableCreationNewProductVariant>
  <ctl00_MainContent_DisableCreationNewGroups>
  </ctl00_MainContent_DisableCreationNewGroups>
  <ctl00_MainContent_EditGroupId>
  </ctl00_MainContent_EditGroupId>

 

Hopefully these can be removed as well??

 

Best regards, Anders


Replies

 
Nicolai Pedersen
Reply

Bummer - that is an ugly bug.

TFS#37073 - in test now.

BR Nicolai

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Anders

The problem TFS#37073 problem with globalsettings file has now been fixed in 9.3+ versions

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum