Closed Bug 315287 Opened 19 years ago Closed 19 years ago

Event: Attach file button, does nothing after selecting file in file dialog

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows Server 2003
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 168680

People

(Reporter: tusharvjoshi, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

For the attachments Tab in the Event dialog box, Attach button shows a file dialog box but does nothing after the file is selected and Open button of the file dialog is clicked.

There is a js error in the Javascript console as follows:

Error: Components.classes['@mozilla.org/messengercompose/attachment;1'] has no properties
Source File: chrome://calendar/content/attachFile.js
Line: 128






Reproducible: Always

Steps to Reproduce:
1. Open any event by double clicking it
2. Select Attachments Tab
3. Click the Attach button
4. In the file dialog select a file and click Open button

Actual Results:  
Nothing is done. No file gets attached.  Error displayed in Javascript console

Expected Results:  
File should get attached, some icon and name of the file must be shown in the Attachment Tab

*** This bug has been marked as a duplicate of 168680 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
I have some additional informations.

I've had the same effect as described. As I looked at the URL i've seen that the URL is uncomplete. In my case it was a file and a part of the filename was cut.
You need to log in before you can comment on or make changes to this bug.