Project

General

Profile

Feature #2058

COLOR DISPLAY .. FIELD statement fails

Added by Costin Savin about 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Costin Savin
Start date:
02/26/2013
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD

cs_upd20130226d.zip (41.3 KB) Costin Savin, 02/26/2013 01:23 PM

History

#1 Updated by Costin Savin about 11 years ago

Statements like :
COLOR DISPLAY red book.price.

This fails with:

EXPRESSION EXECUTION ERROR:
---------------------------
throwException(sprintf(spec, bufname, reftype), this)
^  { Cannot find buffer named p2j_test.book_p2j_test.book for ref type 21! [FIELD_DEC id <206158430222> 2:19] }
---------------------------
ERROR:
java.lang.RuntimeException: ERROR!  Active Rule:
-----------------------
      RULE REPORT      
-----------------------
Rule Type :   WALK
Source AST:  [ book.price ] BLOCK/STATEMENT/KW_COLOR/CONTENT_ARRAY/FIELD_DEC/ @2:19 {206158430222}
Copy AST  :  [ book.price ] BLOCK/STATEMENT/KW_COLOR/CONTENT_ARRAY/FIELD_DEC/ @2:19 {206158430222}
Condition :  throwException(sprintf(spec, bufname, reftype), this)
Loop      :  false
--- END RULE REPORT ---

#2 Updated by Constantin Asofiei about 11 years ago

The following statements work the same as COLOR DISPLAY statement (no buffer is used):

enable book.book-title.
disable book.book-title.
next-prompt book.book-title.
underline book.book-title.

#3 Updated by Costin Savin about 11 years ago

Added proposed update

#4 Updated by Constantin Asofiei about 11 years ago

The changes look good, I'm putting this into conversion regression testing.

#5 Updated by Constantin Asofiei about 11 years ago

There is a buffer scope change in so/serv53-r.p for buffer co-bnchmrk, but this is expected, as an UNDERLINE statement for a field in this buffer has been setting the scope for the buffer to the wrong block.

#6 Updated by Constantin Asofiei about 11 years ago

Committed to bzr revision 10214.

#7 Updated by Eric Faulhaber about 11 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

#8 Updated by Eric Faulhaber about 11 years ago

  • Project changed from Liberty to User Interface

#9 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 4 to Conversion Support for Server Features

Also available in: Atom PDF