Install fails on newly created databases because nextId() is not returning the right values when a sequence is first started. On the first call, it will return 0.

The installer chokes (and the whole batch API) on a batch id that is 0 because there are loose operators all over the place such as this one:

  if (!($request_id = $request->get('id'))) {
    return FALSE;
  }

Solution:

Fix nextID() + add test coverage.

Issue fork sqlsrv-2651538

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

david_garcia created an issue. See original summary.

david_garcia’s picture

Status: Active » Closed (fixed)

DArnold made their first commit to this issue’s fork.