3axap4eHko / OWA-Notifier

Google Chrome Extension OWA (Outlook Web Access) notifier for EWS (Exchange Web Service)
Other
49 stars 27 forks source link

Strange Red Icon #54

Closed FireWings2259 closed 9 years ago

FireWings2259 commented 9 years ago

A small white charier is constantly showing in the bottom right hand corner of the app. Don't know if this is a bug or not but I think it is as it is there then its not and it just stays there.

Thanks

3axap4eHko commented 9 years ago

Do you have a screen?

j-martyn commented 9 years ago

I have the same problem. image

j-martyn commented 9 years ago

Sometimes this character is disappearing.

There is also problem with with blinking mail icon, maybe there is connection between them.

2015-08-31 20_07_04-owa-notifier_popup js at 0440b074b7d18f125aeb9c650bbd14f080b5aa4f 3axap4ehko_o

j-martyn commented 9 years ago

/src/js/Extension.js:163 - here is where the character from

        if (globalWarning) {
            badgeText += ' !';
        }

It seems to be appearing after bad 500 response for request

POST /ews/Exchange.asmx HTTP/1.1

with request payload

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <m:FindItem Traversal="Shallow">
            <m:ItemShape>
                <t:BaseShape>IdOnly</t:BaseShape>
                <t:AdditionalProperties>
                    <t:FieldURI FieldURI="item:Subject" />
                    <t:FieldURI FieldURI="item:ReminderMinutesBeforeStart" />
                    <t:FieldURI FieldURI="calendar:Start" />
                    <t:FieldURI FieldURI="calendar:End" />
                    <t:FieldURI FieldURI="calendar:Location" />
                </t:AdditionalProperties>
            </m:ItemShape>
            <m:CalendarView MaxEntriesReturned="10" StartDate="2015-08-31T20:24:28--03:00" EndDate="2015-09-10T20:24:28--03:00" />
            <m:ParentFolderIds>
                <t:DistinguishedFolderId Id="calendar"/>
            </m:ParentFolderIds>
        </m:FindItem>
    </soap:Body>
</soap:Envelope>

and response

HTTP/1.1 500 Internal Server Error
....

with body

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <s:Fault>
            <faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorSchemaValidation
            </faultcode>
            <faultstring xml:lang="uk-UA">Не удалось выполнить проверку запроса на соответствие схеме: Атрибут
                "StartDate" недействителен: значение "2015-08-31T20:28:58--03:00" недействительно с зрения его типа
                данных "http://www.w3.org/2001/XMLSchema:dateTime" — Строка "2015-08-31T20:28:58--03:00" не является
                допустимым значением XsdDateTime.
            </faultstring>
            <detail>
                <e:ResponseCode xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">
                    ErrorSchemaValidation
                </e:ResponseCode>
                <e:Message xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">Запрос не прошел
                    проверку на соответствие схеме.
                </e:Message>
                <t:MessageXml xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
                    <t:LineNumber>18</t:LineNumber>
                    <t:LinePosition>53</t:LinePosition>
                    <t:Violation>Атрибут "StartDate" недействителен: значение "2015-08-31T20:28:58--03:00"
                        недействительно с зрения его типа данных "http://www.w3.org/2001/XMLSchema:dateTime" — Строка
                        "2015-08-31T20:28:58--03:00" не является допустимым значением XsdDateTime.
                    </t:Violation>
                </t:MessageXml>
            </detail>
        </s:Fault>
    </s:Body>
</s:Envelope>
3axap4eHko commented 9 years ago

Oh! Thank you! This will help me a lot!

3axap4eHko commented 9 years ago

Fixed in 3.0.2.4