In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000870 [In-Portal CMS] Admin Interfaces bug report always 2010-09-22 06:06 2011-04-17 06:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.2-B1 Product Version 5.1.0
  Target Version 5.1.2 Product Build
Time EstimateNo estimate
Summary 0000870: Queuing events to uploader fails, when flash object isn't yet loaded
Description Queuing events to uploader fails, when flash object isn't yet loaded.

For example, when you need to disable upload button method queueEvent must be used. This attempt will fail, because queueEvent is not aware if flash is loaded or not.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/348da03357f7cd77
Change Log Message Ability to disable Flash uploader in Admin
Estimate Points 0
Attached Files patch file icon ability_to_queue_events_even_before_flash_loaded.patch [^] (2,135 bytes) 2010-09-22 06:06 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000955closed (5.1.2)alex Strange error, while using flash uploader 
related to 0000043closed (5.2.0)alex SWFUploader and "Save" button. 

-  Notes
User avatar (0002862)
Dmitry (manager)
2010-09-23 10:36

Reminder sent to: alex

Please provide description for a test case for default In-Portal installation.
User avatar (0002871)
alex (manager)
2010-09-27 12:56

Here is JS code, that will disable "Browse" button for field "UploaderField" of "prefix" prefix.

var $uploader = UploadsManager._Uploaders[ '<inp2:prefix_InputName field="UploaderField" js_escape="1"/>' ];

$uploader.queueEvent(
    function() {
        setTimeout(
            function () {
                $uploader.callFlash('SetButtonDisabled', [false]);
            }, 0
        )
    }
);


Maybe we should also introduce new method for getting uploader control based on field name, that will do following line:

$uploader = UploadsManager._Uploaders[ '<inp2:prefix_InputName field="UploaderField" js_escape="1"/>' ];
User avatar (0003168)
Dmitry (manager)
2011-01-05 12:30

Patch tested good.

Yes, it would be nice to have proposed way of "getting uploader control based on field name". I guess we can create a Feature Request?
User avatar (0003176)
alex (manager)
2011-01-09 08:28

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000870: Queuing events to uploader fails, when flash object isn't yet loaded
User avatar (0003354)
Dmitry (manager)
2011-03-30 09:53

Closing, since 5.1.2 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14126
Timestamp: 2011-01-09 08:28:28
Author: alex
Details ] Diff ]
Fixes 0000870: Queuing events to uploader fails, when flash object isn't yet loaded
mod - /in-portal/branches/5.1.x/core/admin_templates/js/uploader/uploader.js Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-01-11 08:11 alex Relationship added related to 0000043
2011-04-17 06:31 alex Relationship added related to 0000955
2011-03-30 09:53 Dmitry Note Added: 0003354
2011-03-30 09:53 Dmitry Status resolved => closed
2011-01-09 08:28 alex Note Added: 0003176
2011-01-09 08:28 alex Status reviewed and tested => resolved
2011-01-09 08:28 alex Fixed in Version => 5.1.2-B1
2011-01-09 08:28 alex Resolution open => fixed
2011-01-09 08:28 alex Assigned To !COMMUNITY => alex
2011-01-09 08:28 alex Changeset attached 5.1.x r14126
2011-01-05 12:30 Dmitry Change Log Message => Ability to disable Flash uploader in Admin
2011-01-05 12:30 Dmitry Note Added: 0003168
2011-01-05 12:30 Dmitry Status needs testing => reviewed and tested
2010-09-28 14:05 Dmitry Fixed in Version 5.1.2 =>
2010-09-28 14:05 Dmitry Target Version Icebox => 5.1.2
2010-09-28 13:30 Dmitry Fixed in Version => 5.1.2
2010-09-27 12:56 alex Note Added: 0002871
2010-09-23 10:36 Dmitry Note Added: 0002862
2010-09-22 06:07 alex Assigned To => !COMMUNITY
2010-09-22 06:07 alex Developer => alex
2010-09-22 06:07 alex Status active => needs testing
2010-09-22 06:07 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/348da03357f7cd77
2010-09-22 06:06 alex New Issue
2010-09-22 06:06 alex File Added: ability_to_queue_events_even_before_flash_loaded.patch



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker