PDFedit Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000160 [Kernel] =Other (Kernel)= major always 08-25-07 12:45 03-02-08 17:57
Reporter anonymous View Status public  
Assigned To hockm0bm
Priority normal Resolution fixed  
Status closed  
Summary 0000160: Page dictionary *Box properties vaulues are not visible in normal mode
Description All *Box properties are visible in normal mode, but it is not possible to see their values. This should not happen according default mode.conf file.
Additional Information
Attached Files  mode.conf [^] (1,856 bytes) 08-25-07 12:45

- Relationships

- Notes
08-25-07 15:27

Bug is caused because of bad implementation of CArray::_setMode method which tries to get mode for element with no type and index name. If mdUnknown is returned from mode controller, it uses array mode.
However this is problem, because empty type matches the most general rules. We have default rule to everything is mdAdvanced
: mdAdvanced
and this rule matches also for evert "".index combination.

Current quick fix simply uses array mode for all its elements. This is more consistent with penalty that no special rules for arrays are possible. If we want to enable this, we have to add kind_of_name field to the array. When an array is direct member of a dictionary, it will get the name from the element name (in CDict::_setMode). Indirect array doesn't have any name (inherently can't). This can be also for dictionaries without Type element.
09-03-07 11:57

Problem fixed in 0.3.2 release

- Issue History
Date Modified Username Field Change
08-25-07 12:45 anonymous New Issue
08-25-07 12:45 anonymous File Added: mode.conf
08-25-07 12:46 hockm0bm Status new => assigned
08-25-07 12:46 hockm0bm Assigned To  => hockm0bm
08-25-07 15:27 hockm0bm Note Added: 0000163
09-03-07 11:57 hockm0bm Status assigned => resolved
09-03-07 11:57 hockm0bm Resolution open => fixed
09-03-07 11:57 hockm0bm Note Added: 0000164
03-02-08 17:57 hockm0bm Status resolved => closed