Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Aug 16, 2021

On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result.

Main

Array
(
    [class] => OCA\WorkflowScript\Operation
    [entity] => OCA\WorkflowEngine\Entity\File
    [TO_CHAR("EVENTS")] => ["\\OCP\\Files::postCreate","\\OCP\\Files::postWrite","\\OCP\\Files::postRename","\\OCP\\Files::postDelete","\\OCP\\Files::postTouch","\\OCP\\Files::postCopy","OCP\\SystemTag\\ISystemTagObjectMapper::assignTags"]
)

This PR

Array
(
    [class] => OCA\WorkflowScript\Operation
    [entity] => OCA\WorkflowEngine\Entity\File
    [events] => ["\\OCP\\Files::postCreate","\\OCP\\Files::postWrite","\\OCP\\Files::postRename","\\OCP\\Files::postDelete","\\OCP\\Files::postTouch","\\OCP\\Files::postCopy","OCP\\SystemTag\\ISystemTagObjectMapper::assignTags"]
)

On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the bug/noid/column-name-oci branch from 2b1e6c0 to 7492b3c Compare August 16, 2021 12:38
@kesselb kesselb changed the title Bug/noid/column name oci Set alias for result of cast column function Aug 16, 2021
@kesselb kesselb added 3. to review Waiting for reviews bug labels Aug 16, 2021
@nickvergessen
Copy link
Member

backport needed!?

@nickvergessen nickvergessen added this to the Nextcloud 23 milestone Aug 20, 2021
@kesselb
Copy link
Collaborator Author

kesselb commented Aug 20, 2021

/backport to stable22

@kesselb
Copy link
Collaborator Author

kesselb commented Aug 20, 2021

/backport to stable21

@kesselb
Copy link
Collaborator Author

kesselb commented Aug 20, 2021

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants