Closed Bug 243918 Opened 21 years ago Closed 19 years ago

Unauthorized WebDAV PUT operations on Remote Calendars produces erratic error messages

Categories

(Calendar :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 306508

People

(Reporter: joehe716, Assigned: mostafah)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 An access-denied error message is displayed for the wrong calendar, and usually, the errant event is deleted without any error messages or warnings. Reproducible: Always Steps to Reproduce: 1. Make sure you have one or more calendars available that are GET/PUT enabled through https on a WebDAV system, and one calendar that is only GET enabled through https on a WebDAV system (I used the same system, same user/pass, different directories with various access settings). 2. Subscribe to the GET/PUT enabled calendars, supply the user/pass and check the "publish automatically" option. 3. Optional: Add/delete a couple of events and see that everything works OK. 4. Subscribe to the GET-only calendar, supply user/pass, but... critical step: make a deliberate mistake here and check the "publish automatically" option. 5. Add an event to the GET-only calendar. You will notice now that no error message is displayed, even though Mozilla Calendar is unable to PUT the file. I checked this on the server. No change in the remote file. 6. Do a "Refresh Remote Calendars". Actual Results: An access-denied error message is displayed for the calendar that appears *one step above* the GET-only calendar, and usually, the wrongly created event is deleted. The deletion occurrs without any error messages or warnings. Now, if you do another "Refresh Remote Calendars", the calendar *one further step above* your GET-only calendar will display the error message. Repeat this a couple of times, and eventualy the program stops displaying these error messages. Another way is to quit mozilla entirely and then restart the calendar. Expected Results: An error message should be displayed diectly when Mozilla Calendar fails to update the remote file. This error message should say that I don't have the proper priviliges to alter the remote calendar, and I should then get the opportunity to correct my mistake, i.e: put the event in a calendar that I *do* have PUT priviliges on, or correct any misspellings in my supplied username/password. I should not get a misguiding error message pointing to a calendar update task that actually worked.
QA Contact: gurganbl → general
Should have been fixed by the error-reporting bug. *** This bug has been marked as a duplicate of 306508 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.