History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4592
Type: Bug Bug
Status: Verified Verified
Resolution: Fixed
Priority: P1 P1
Assignee: Unassigned
Reporter: Elliot Winard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

basedatacombobox-based components with selectfirst="false" emits Debugger warnings

Created: 28/Aug/07 07:28 AM   Updated: 22/Oct/07 03:50 PM
Component/s: Components - base
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

File Attachments: 1. File test-datacombobox.lzx (0.7 kb)


Severity: Minor
Fixed in Change#: 6,284
Runtime: N/A
Flags: Products
Fix in hand: False


 Description  « Hide
STEPS:
1. create instance of component that extends basedatacombobox with attribute selectfirst="true"
2. look at debugger

RESULTS:
  debugger output -
WARNING: __LZgetNodes: p is null in LzDatapointer

EXPECTED:
no debugger output

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 29/Aug/07 12:30 PM
These warnings have been downgraded to info messages for Wafflecone. Investigating and fixing the actual source of the warning is a 4.1 task.

Amy Muntz - 11/Sep/07 09:17 AM
Changed to INFO in wafflecone as workaround. Cloned and reopened in 4.1 to find the source of the warning.

Steve O'Sullivan - 22/Oct/07 03:50 PM
Hello Amy,

This note is regarding bug LPP-4592 which I have tested in r6938.

If I compile this script in swf7 in IE7:

<canvas debug="true" height="300">
    <dataset name="dsComboOptions">
        <!-- item value="0">View More Headers</item -->
        <item value="1">View Source</item>
        <item value="2">Open in Browser</item>
        <item value="3">Mark Unread</item>
        <item value="4">Create Filter...</item>
    </dataset>


    <datacombobox selectfirst="false"
                  itemdatapath="dsComboOptions:/item" />
</canvas>

I get the following Debugger output -- "INFO: __LZgetNodes: p is null in LzDatapointer."

It is an info line, not a warning. However, I _think_ that according to the bug notes, the selectfirst attribute should be set to "true" for this warning to trigger, correct? If I set it to 'true', I get no error on compilation; when I set it to 'false' I get the info line.

The short description and the full description do not match.

I have verified the info message is triggered when the selectfirst attribute is set to false, as opposed to a warning being triggered.