The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi

I have have a document Customer Orders, in Item (type is CatalogRef.Items) column property named "ChoiceFoldersAndItems" is setted as "Folders and items". The "ChoiceProcessing" event of Item column is StandardProcessing=False. I manually add Items after choice process.

Everything is working normally. But after all, in Web Client I recieve such error message: "Cannot call method 'clearValueList' of undefined" (picture of message is attached). In other Thick and Thin client modes I do not recieve any message, everything is working, but in Web client I recieve such problem. In script I don't use any clearing methods.

So, I wanted to ask in which situations (event) Platform is using "clearValueList" method?

I wanted to test it myself but, in script much more code is running, so I needed to ask in which situations for FormDataCollection (or tabular section of document) Platform uses clearValueList method.

I think it may be related with default values?

Any ideas how to pass this problem?

 
#2
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

You can debug web client by running it as Debug -> Start debugging -> Web client start debugging.

 
#3
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

:) I tried it. But durring the debug mode there is no problem. After script end, the error message appears.

 
#4
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Error doesn't accure while debugging. And each browser accure as different messages.

 
#5
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Error doesn't accure while debugging. And each browser accure as different messages.
Attached message in Internet Explorer.

 
#6
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Error message in Mozilla Firefox is attached.

 
#7
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Error message in Google Chrome is attached.

 
#8
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Timofey tried in 8.3.3 version. messages are a little different.

In Internet Explorer. version 8.3.3 is attached

 
#9
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

In Google Chrome. platform version 8.3.3 is attached

 
#10
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

In Firefox for plarfomr version 8.3.3 is attached.

 
#11
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

In script, at server I add some FormAttributes (type ValueTable) and add FormItems for those attributes. May be it related with those added attributes and form items? But in Thin and Thick Clients I don't recieve any error messages. Massge is accuring only in Web Client. Firstly I thought it related with the script written. While debugging in each mode, there is no mistake. Only for Web Client after script end appears messagebox with unintelligible message. For this, in beginning of forum title I asked in which situations Platform uses "clearValueList" method in own embed script (I think it related with platform's script in Web Client).

 
#12
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

I can share with script that written, but valiables are in turkish and the algorithm adding attributes and form items is a little long.

 
#13
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

Can you create a cut of your configuration that will contain a tiny part of your configuration and where we could reproduce an error?

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)