Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2017 00:53:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224393] Update to nextcoud 12.0.4 INVALID_HASH PostgreSqlSchemaManager.php
Message-ID:  <bug-224393-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224393

            Bug ID: 224393
           Summary: Update to nextcoud 12.0.4 INVALID_HASH
                    PostgreSqlSchemaManager.php
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: peo@bsdlabs.com

Relates to Bug 224142, looks like the checksum was mot recalculated after t=
he
change

  - INVALID_HASH:
    -
3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php:
      - expected:
9c9a80a71990dc784914780024b780189f7f68d38ee98f49439d5db9adce290d1105a17fb8a=
670090fa92b65760775fb942bc3060b368bf16b82702fa2d5f9f2
      - current:
5839a5ca8dacedb7eb8ab40e9025614a042741557346ddd228f3e0aa38a6bb352226c59b3b4=
29057651ad6c58ba20f69a4049178c39aedf7a9a7c462faa042d4


--- PostgreSqlSchemaManager.php 2017-12-17 01:40:25.826548000 +0100
+++
./nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchem=
aManager.php
    2017-12-04 08:19:01.000000000 +0100
@@ -289,16 +289,7 @@
             $sequenceName =3D $sequence['relname'];
         }

-        $version =3D
floatval($this->_conn->getWrappedConnection()->getServerVersion());
-
-        if ($version >=3D 10) {
-           $data =3D $this->_conn->fetchAll('SELECT min_value, increment_b=
y FROM
pg_sequences WHERE schemaname =3D \'public\' AND sequencename =3D
'.$this->_conn->quote($sequenceName));
-        }
-        else
-        {
-            $data =3D $this->_conn->fetchAll('SELECT min_value, increment_=
by
FROM ' . $this->_platform->quoteIdentifier($sequenceName));
-        }
-//        $data =3D $this->_conn->fetchAll('SELECT min_value, increment_by=
 FROM
' . $this->_platform->quoteIdentifier($sequenceName));
+        $data =3D $this->_conn->fetchAll('SELECT min_value, increment_by F=
ROM '
. $this->_platform->quoteIdentifier($sequenceName));

         return new Sequence($sequenceName, $data[0]['increment_by'],
$data[0]['min_value']);
     }

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224393-13>