Skip to content

Fix undefined node array key, using folder instead#1783

Merged
solracsf merged 1 commit intonextcloud:mainfrom
Simounet:fix/undefined-node-array-key
Mar 28, 2026
Merged

Fix undefined node array key, using folder instead#1783
solracsf merged 1 commit intonextcloud:mainfrom
Simounet:fix/undefined-node-array-key

Conversation

@Simounet
Copy link
Copy Markdown
Member

@Simounet Simounet commented Mar 19, 2026

Hi there,
It fixes the error on /apps/notes/notes API calls:

"message":"Undefined array key \"node\" at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#201"

Because it's the folder key that's defined in SettingsService.php instead of node.

Have a nice day.

Fixes #1784

Copy link
Copy Markdown

@DerDreschner DerDreschner left a comment

Choose a reason for hiding this comment

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

Tested on Nextcloud 33.0.0 with PHP 8.5 and fixes the issue!

@adam-wujtewicz
Copy link
Copy Markdown

I also was dealing with this recently. And tested it on Ubuntu 22.04 Nextcloud 32.0.6 php8.3. This change fixes:

@solracsf
Copy link
Copy Markdown
Member

@CarlSchwan regression from #1614

@solracsf solracsf requested a review from CarlSchwan March 26, 2026 16:52
@solracsf solracsf added bug Something isn't working feature: dashboard Related to Nextcloud dashboard 4. to release bug: regression labels Mar 26, 2026
@solracsf solracsf merged commit 1e3dd4f into nextcloud:main Mar 28, 2026
34 checks passed
@iasdeoupxe
Copy link
Copy Markdown

iasdeoupxe commented Mar 28, 2026

Fixes #1784

Seems #1792 and #1795 as well?

@stefangweichinger
Copy link
Copy Markdown

patched my nc-33.0.1, seems to quiet it down, thanks

@Simounet Simounet deleted the fix/undefined-node-array-key branch March 30, 2026 07:50
@Mat-DB
Copy link
Copy Markdown

Mat-DB commented Apr 18, 2026

When will this be released?

@SwellEquation
Copy link
Copy Markdown

has this change been pushed to the latest release channel yet?

@iasdeoupxe
Copy link
Copy Markdown

iasdeoupxe commented Apr 20, 2026

@SwellEquation Doesn't look like:

  1. This PR merged: End of March
  2. Latest release on https://github.com/nextcloud/notes/releases (4.13.1): Mid of March

@Croydon
Copy link
Copy Markdown

Croydon commented Apr 20, 2026

You can look at the merge commit (1e3dd4f) and under the commit message you can see all branches and tags containing the commit. Right now, it is only in the master branch, so no tags, and therefore not in any release.

@enjeck
Copy link
Copy Markdown
Contributor

enjeck commented Apr 20, 2026

I'll get this released this week, sorry for the delay!

@iasdeoupxe
Copy link
Copy Markdown

@enjeck Sounds great. Maybe also close at least #1795 and #1792 while on it (#1784 is already closed) 👍

@enjeck
Copy link
Copy Markdown
Contributor

enjeck commented Apr 24, 2026

I just released v5.0.0

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

Labels

4. to release bug: regression bug Something isn't working feature: dashboard Related to Nextcloud dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global search of nextcloud does not search in notes since v4.13.1 notes dashboard widget empty with version 4.13.1

10 participants