SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001010SiT!dashboardpublic2009-11-18 22:022011-01-02 12:16
Assigned To 
PlatformWindowsOSWindowsOS VersionXP+Later
Product Version3.50 
Target VersionFixed in Version 
Summary0001010: The variable $dashletid is not always passed correctly
DescriptionI tried to use the variable $dashletid in our dashlet, but in the function "dashboard_xxxxxx_display($dashletid) the value "$dashletid" is not always the same.

On the contrary in the function "dashboard_xxxxxx($dashletid)" the value is always the same.
Steps To ReproduceInt the function "dashboard_xxxxxx_display" add the fommowing:

echo "This is the dashletid : {$dashletid}";

now when you first log in the dashletid is shown as "win"

if you refresh using the dashlet refresh button the value is shown as "windbX-Y" ... the x depends on your dashblet's id and position.

The problem is when you want ot use $dashletid in your script it messes things up a bit.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0001039closed Dashletid is not always passed correctly 

-  Notes
User avatar (0002193)
paulh (administrator)
2009-12-03 20:18

Confirmed this is still a problem did is not passed when you refresh the page though if you refresh the individual dashlet it is passed.

Not sure why this is passed then refreshing though we should be consistent
User avatar (0003524)
nicdev (developer)
2011-01-02 12:16

Ivan, I am not sure that we resolved this ... It was a problem in 3.50 but i put a workaround in my dashlet to avoid the issue so I can't confirm?

- Issue History
Date Modified Username Field Change
2009-11-18 22:02 nicdev New Issue
2009-12-03 20:18 paulh Note Added: 0002193
2009-12-03 20:18 paulh Status new => confirmed
2010-02-01 09:44 paulh Relationship added has duplicate 0001039
2011-01-02 12:16 nicdev Note Added: 0003524

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker