Closed Bug 370665 Opened 18 years ago Closed 18 years ago

Export/publish calendar is impossible [ a.startDate has no properties ][ document.getElementById("ok") has no properties ]

Categories

(Calendar :: Import and Export, defect)

Sunbird 0.3.1
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 336175

People

(Reporter: hubert+bmo, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.8.1.2pre) Gecko/20061023 SUSE/2.0.0.1-0.1 Firefox/2.0.0.2pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9a1) Gecko/20070213 Sunbird/0.3.1 Similar to bug 348651. If I create one task and one event I won't export my calendar. Tested on Sunbird 0.3 en-US & Sunbird 0.3.1 RC2 pl Error console: Błąd: a.startDate has no properties Plik źródłowy: file:///home/install/mozilla/sunbird/sunbird-pl/js/calHtmlExport.js Wiersz: 105 Error: a.startDate has no properties Source File: file:///home/install/mozilla/sunbird/sunbird/js/calHtmlExport.js Line: 105 Reproducible: Always Steps to Reproduce: 1. Create new profile 2. Create new event (Fill the form "New event": Name: "Event#1". It's all!) 3. Create new task (Fill the form "New task": Name: "Task#1". It's all!) 4. a) File > Export Calendar b) File > Publish Calendar (URL: http://localhost/test.ics), next push Enter c) File > Publish Calendar (URL: http://mydomain.com/test.ics), next push Enter Actual Results: 4. a) I see dialog "Unable to write to file". Sunbird created new empty file on my disc (myownname.html) Błąd: a.startDate has no properties Plik źródłowy: file:///home/install/mozilla/sunbird/sunbird-pl/js/calHtmlExport.js Wiersz: 105 b) Błąd: document.getElementById("ok") has no properties Plik źródłowy: chrome://calendar/content/publishDialog.xul Wiersz: 1 Błąd: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.requestSucceeded]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: chrome://calendar/content/publish.js :: anonymous :: line 265" data: no] Plik źródłowy: chrome://calendar/content/publish.js Wiersz: 265 c) Błąd: document.getElementById("ok") has no properties Plik źródłowy: chrome://calendar/content/publishDialog.xul Wiersz: 1 Błąd: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: calGetString :: line 254" data: no] Plik źródłowy: chrome://calendar/content/calendarUtils.js Wiersz: 254 Expected Results: 4. a) Sunbird should create new file (not empty file!) on my disc (myownname.html) b), c) Sunbird should show me any dialog.
Flags: blocking-calendar0.3.1?
Summary: Export/public calendar is impossible [ a.startDate has no properties ][ document.getElementById("ok") has no properties ] → Export/publish calendar is impossible [ a.startDate has no properties ][ document.getElementById("ok") has no properties ]
Version: unspecified → Sunbird 0.3.1
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.