Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Mar 18, 2022

  • as used in LDAP's AbstractMapping::clear() method
  • and in Comment's ManagerTest::setUp()
  • fixes a DB Exception with Oracle

- as used in LDAP's AbstractMapping::clear() method
- and in Comment's ManagerTest::setUp()
- fixes a DB Exception with Oracle

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz added this to the Nextcloud 24 milestone Mar 18, 2022
@blizzz blizzz requested review from a team, PVince81, come-nc and nickvergessen and removed request for a team March 18, 2022 16:04
@come-nc
Copy link
Contributor

come-nc commented Mar 21, 2022

How does one know when PREFIX is needed and when not?
We have other calls on the IDBConnection that do not contain it:
https://github.com/nextcloud/server/blob/master/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php#L184

@blizzz
Copy link
Member Author

blizzz commented Mar 21, 2022

How does one know when PREFIX is needed and when not? We have other calls on the IDBConnection that do not contain it: https://github.com/nextcloud/server/blob/master/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php#L184

It is not needed when using the query builder.

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doc block thou 🤪

Maybe we fix that properly?

@PVince81 PVince81 merged commit 6fa51be into master Mar 22, 2022
@PVince81 PVince81 deleted the fix/noid/truncate-oracle branch March 22, 2022 09:46
@blizzz

This comment was marked as resolved.

@blizzz

This comment was marked as duplicate.

@blizzz
Copy link
Member Author

blizzz commented Mar 22, 2022

/backport to stable21

@blizzz
Copy link
Member Author

blizzz commented Mar 22, 2022

/backport to stable20

@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as duplicate.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@blizzz
Copy link
Member Author

blizzz commented Mar 22, 2022

/backport to stable23

@blizzz

This comment was marked as duplicate.

@blizzz

This comment was marked as duplicate.

@blizzz

This comment was marked as duplicate.

@backportbot-nextcloud

This comment was marked as duplicate.

@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as resolved.

@blizzz
Copy link
Member Author

blizzz commented Mar 22, 2022

/backport to stable22

@blizzz
Copy link
Member Author

blizzz commented Mar 22, 2022

/backport to stable21

@blizzz

This comment was marked as duplicate.

@backportbot-nextcloud

This comment was marked as duplicate.

@blizzz
Copy link
Member Author

blizzz commented Mar 23, 2022

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants