Closed Bug 350703 Opened 18 years ago Closed 18 years ago

no validation if remote calendar URL is correct

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 314594

People

(Reporter: damian.publicemail, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060827 Calendar/0.3a2+

when you try to subscribe remote calendar based on URL which is not valid you get error instead of user friendly alert

Reproducible: Always

Steps to Reproduce:
1. subscribe remote calendar URL= Error:
   -> when you type : Next button become enabled
2. finish wizard to create new calendar
Actual Results:  
error console

Error: [Exception... "Component returned failure code: 0x804b0012 [nsIIOService.newChannelFromURI]"  nsresult: "0x804b0012 (<unknown>)"  location: "JS frame :: file:///C:/Documents%20and%20Settings/Damian/Pulpit/sunbird/components/calICSCalendar.js :: anonymous :: line 127"  data: no]
Source File: file:///C:/Documents%20and%20Settings/Damian/Pulpit/sunbird/components/calICSCalendar.js
Line: 127

Expected Results:  
alert that URL is not valid or data avilable under this URL is not valid

wizard needs validation if data which you input does make sense and if so if there is calendar avialable

rigth now wizard just finish and there is no feedback that something went wrong
Version: unspecified → Trunk
Confirmed. There is no error dialog. The calendar is just not created.

using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060831 Calendar/0.3a2+

related bug: bug 314594
Actually, we're going to believe that Bug 314594 and this are the same core issue, manifesting in different ways. This bug is a duplicate of that other bug. But, developers are pointed to comment 8 on bug 314594 that outlines all manifestations of this problem. A patch must address all these issues.

*** This bug has been marked as a duplicate of 314594 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.