Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > 1C:Enterprise "clearValueList"

Forum

Search UsersRules
1C:Enterprise "clearValueList"
#1
Interested
Points:: 0
Joined:: Apr 5, 2012

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?

Profile
#2
Guest
Points::
Joined::

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

Profile
#3
Interested
Points:: 0
Joined:: Apr 5, 2012

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

Profile
#4
Interested
Points:: 0
Joined:: Apr 5, 2012

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

Profile
#5
Interested
Points:: 0
Joined:: Apr 5, 2012

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

Profile
#6
Interested
Points:: 0
Joined:: Apr 5, 2012

Error message in Mozilla Firefox is attached.

Profile
#7
Interested
Points:: 0
Joined:: Apr 5, 2012

Error message in Google Chrome is attached.

Profile
#8
Interested
Points:: 0
Joined:: Apr 5, 2012

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

In Internet Explorer. version 8.3.3 is attached

Profile
#9
Interested
Points:: 0
Joined:: Apr 5, 2012

In Google Chrome. platform version 8.3.3 is attached

Profile
#10
Interested
Points:: 0
Joined:: Apr 5, 2012

In Firefox for plarfomr version 8.3.3 is attached.

Profile
#11
Interested
Points:: 0
Joined:: Apr 5, 2012

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).

Profile
#12
Interested
Points:: 0
Joined:: Apr 5, 2012

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

Profile
#13
Guest
Points::
Joined::

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

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



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.