Fatal Error bei Installation mit fehlendem xmlns in package.xml

  • Affected App
    WoltLab Suite Core

    Schreibt man in der package.xml z.B.

    Code
    <!DOCTYPE package SYSTEM "http://www.woltlab.com/DTDs/package.dtd">
    <package name="de.mysterycode.mcps">


    statt

    Code
    <package name="de.mysterycode.mcps" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/package.xsd">

    Kommt bei Klick auf weiter folgender Fehler:

    Code
    Fatal error: Call to a member function getAttribute() on a non-object in \wcf\lib\system\package\PackageArchive.class.php on line 170

    Da ich davon ausgehe, dass derartig geschriebene Pakete im Pluginstore eh abgelehnt werden, ist das nicht so tragisch. Aber es st mir im Zuge meiner Entwicklungen aufgefallen.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!