Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004625Clover Designer(No Category)public2010-07-23 17:082010-08-19 18:09
Reportertwaller 
Assigned Tomzatopek 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionrel-3-0-0Fixed in Versionrel-3-0-0 
Summary0004625: CTL2: I am unable to save invalid transformation code.
Description//#CTL2

recordName1 myRecord;
integer count;

// Transforms input record into output record.
function integer transform() {
    count = lookup(simpleLookup0).count($0.Field2);
    printErr(count);
    myRecord = lookup(simpleLookup0).get($0.Field2);
    while ((count-1) > 0) {
    myRecord = lookup(simpleLookup0).next($0.Field2);
    printErr(myRecord);
    printErr(count);
    count--;
    }
    $0.Field1 = myRecord.Field1;
    $0.Field2 = myRecord.Field2;
    $0.field3 = $0.Field1;
    $0.field4 = $0.Field2;
    return 0;
}

moreover, the reason seems to be:
Field 'Field' does not exist in record 'recordName3'

after selecting Accept it anyway, OK button does nothing.

When I write this code in the Source code tab, with next($0.Field2), it cannot be opened.

Fatal error: Null.
TagsNo tags attached.
OTRS_Ticket_ID
Time estimate (manhours)
Time duration (manhours)
Completion status10
Attached Files

- Relationships

-  Notes
(0008587)
twaller (manager)
2010-07-23 17:37

graph is almost the same as in 4628.

- Issue History
Date Modified Username Field Change
2010-07-23 17:08 twaller New Issue
2010-07-23 17:37 twaller Note Added: 0008587
2010-07-28 18:26 mzatopek Status new => assigned
2010-07-28 18:26 mzatopek Assigned To => mzatopek
2010-07-28 18:56 mzatopek Status assigned => resolved
2010-07-28 18:56 mzatopek Fixed in Version => rel-3-0-0
2010-07-28 18:56 mzatopek Resolution open => fixed
2010-08-19 18:09 twaller Status resolved => closed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker