Skip to content

OCI8 - undefined index, CRITICAL ! #3766

@michaljusiega

Description

@michaljusiega

Bug Report

Q A
BC Break yes
Version 2.10

Summary

Some changes in 2.10 make a BC break. On line 281 in OCI8Statement, the column is not valid in array, so throws a Notice: Undefined index: test.

Before upgrade to 2.10 the line looks like:
$column = $this->_paramMap[$column] ?? $column;

After upgrade do 2.10 is:
$column = $this->_paramMap[$column];

Current behaviour

Undefined index in array. The null coalesce operator was removed (WHY, who accept this ?)

obraz

How to reproduce

The EntityManager must be of OCI8 instance.

$query = $this->entityManager->getConnection()->prepare($prepareSQL);
$query->bindValue('test', 'testvalue');
$query->execute();

Expected behaviour

Should be work by using default column.

Gentlemen. A bit of partolite work with doctrine. You have very poor standards, these things should not appear. Remember: If something works, don't move it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions