Developer forum

Forum » Ecommerce - Standard features » Saving or adding ProductCategory fields takes a lot of time

Saving or adding ProductCategory fields takes a lot of time

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Ever since 9.8.6 we have started to experience very long wait times ahe trying to add or save ProductCategoryFields. And the application becomes unresponsive until the save is done.

Delete of fields works fine, only Save or Add takes a lot of time.

We have upgraded to 9.8.8 but we have see the same behavior.

Anybody else having the same issue?

Thank you,
Adrian


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Adrian,

I was able to reproduce the issue on one of my test solution, TFS 81832 has been submitted to try to research and fix it. Thanks.

BR, Oleg QA  

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Oleg,

Thank you very much.
Adrian

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Adrian,

We've discovered that GlobalSettings.aspx file of my solution has not used data like

<__VIEWSTATE>/wEPDwUJMzgyNzc2NDc1DxYCHhNWYWxpZGF0ZVJlcXVlc3RNb2RlAgFkZASR6KVI3MLCw5fPyZ5IcOI2lAmNdKNQnyfgBk8px5uA</__VIEWSTATE>
  <__VIEWSTATEGENERATOR>2B2E3591</__VIEWSTATEGENERATOR>
  <ctl00_MainContent_ApplyReadonlyForAdministrators>
  </ctl00_MainContent_ApplyReadonlyForAdministrators>

....

  <ctl00MainContentStatisticsEnabled>False</ctl00MainContentStatisticsEnabled>
  <ctl00MainContentStatisticsEnabled>False</ctl00MainContentStatisticsEnabled>

</Globalsettings>

below '<ItemTypes>  </ItemTypes>' section unil </Globalsettings> in end. Removing this data allows to fix the issue. IIS pool recycle is required after removing surely. Please, try to check it on your solution. The data could be added inside the file in past if your solution was upgraded from old one like mine. 

BR, Oleg QA   

 

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Oleg,

Thank you.

I will try it on my solution and get back to you.

Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Oleg,

I have deleted the information, recycled and tried again.
Same behavior.

Thank you,
Adrian

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Could you share URL to your solution to have extra research, since I'm not able to reproduce the issue on mine. Thanks.

BR, Oleg QA 

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Oleg,

Sure: https://www.atomico.ro

Be aware that we are in the middle of the preparations for go-live with this solution.

Thank you,

Adrian

 

 
Nicolai Pedersen
Reply

And a copy of your globalsettings file.

You do have one million fields on this solution, so it will take some time to save the settings

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

There are 1015 fields. About 800 of them are for marketplace integration.

I have attached the GlobalSettings file.

Thank you,
Adrian

 
Nicolai Pedersen
Reply

File looks good. But it is a setting for each checkbox - so 6*the number of fields.

We have an item for looking at changing how the save works, but it is not due in a minute.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

This matter is not urgent. We can live with it as it is now until you find a better solution.

I have posted this as a case because it makes sense for you to be aware of it and decide if you should find a solution or not.

Thank you,
Adrian

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Adrian

The Saving or adding ProductCategory fields functions has been updated for better performance in Dynamicweb 9.8.10

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