https://bugzilla.wikimedia.org/show_bug.cgi?id=40242

       Web browser: ---
             Bug #: 40242
           Summary: Fatal exception of type TimestampException
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
               URL: http://de.wikipedia.org/wiki/Datei:Screenshot_t3n.PNG
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


A user has upload some files on de.wp with show now a

[5ed4b3a8] 2012-09-13 19:14:02: Fatal exception of type TimestampException

The files are:
http://de.wikipedia.org/wiki/Datei:Screenshot_t3n.PNG
http://de.wikipedia.org/wiki/Datei:United_Domains_Portfolio.PNG
http://de.wikipedia.org/wiki/Datei:United_Domains_Portfolio.PNG

When looking at the metadata through the api for one file:

      <page pageid="7187856" ns="6" title="Datei:Screenshot t3n.PNG"
imagerepository="local">
        <imageinfo>
          <ii timestamp="2012-09-11T14:52:00Z" user="Juncensis">
            <metadata>
              <metadata name="frameCount" value="0" />
              <metadata name="loopCount" value="1" />
              <metadata name="duration" value="0" />
              <metadata name="bitDepth" value="8" />
              <metadata name="colorType" value="truecolour-alpha" />
              <metadata name="metadata">
                <value>
                  <metadata name="PixelXDimension" value="1013" />
                  <metadata name="ColorSpace" value="1" />
                  <metadata name="PixelYDimension" value="774" />
                  <metadata name="DateTime" value="2012:09:11 16:09:65" />
                  <metadata name="Software" value="Pixelmator 2.1" />
                  <metadata name="XResolution" value="2835/100" />
                  <metadata name="YResolution" value="2835/100" />
                  <metadata name="ResolutionUnit" value="3" />
                  <metadata name="_MW_PNG_VERSION" value="1" />
                </value>
              </metadata>
            </metadata>
          </ii>
        </imageinfo>
      </page>

You can see, that DateTime is invalid (2012:09:11 16:09:65). In this case
MediaWiki should not die on the filepage.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to