Desktop version

Main > Forum > 1C:Enterprise Platform > Bugs and functionality requests to 1C:Enterprise platform > Platform crash

Forum

Search UsersRules
Platform crash
#1
Active user
Points:: 0
Joined:: Mar 20, 2012

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.

Profile
#2
Guest
Points::
Joined::

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.

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.