Platform crash

This forum is intended for cases when a problem can not be solved due to restrictions of the platform: a bug or lack of functionality.

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

This code

Code
&AtServer
Procedure OnCreateAtServer(Cancel, StandardProcessing)
   Cobrados = New DataCompositionField("Cobrado");
   CobradosFilter = Undefined;
   For Each Item In List.Filter.Items Do
      If Item.LeftValue = Cobrados Then
         CobradosFilter = Item;
      EndIf;
   EndDo;
   If CobradosFilter = Undefined Then
      CobradosFilter = List.Filter.Items.Add(Type("DataCompositionFilterItem"));
      CobradosFilter.LeftValue = Cobrados;
      CobradosFilter.ComparisonType = DataCompositionComparisonType.Equal;
      CobradosFilter.Use = True;
   EndIf;
   CobradosFilter.RightValue =(Cobrados = 1);
EndProcedure
, when placed into the module of choice form, causes platform crash.

At the form I have the integer(10,0) field "Cobrados" connected with radio button control and in the list I have a column "Cobrado" of type boolean.

I understand the error in the code, but by the way, i think, it shouldn't cause platform crash.

Platform version - 8.3.4.437 in taxi mode without compatibility.

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

Joined:
Company:

Hello, Mikhail,
I have created a samble configuration and tried to reproduce this issue on 1C:Enterprise platform 8.3.4.482. There is no crash when I open Tools/Choice.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.