Skip to content

Fix updates of NULL appconfig values - #23602

Merged
ChristophWurst merged 1 commit into
masterfrom
fix/appconfig_update_null
Oct 23, 2020
Merged

Fix updates of NULL appconfig values#23602
ChristophWurst merged 1 commit into
masterfrom
fix/appconfig_update_null

Conversation

@rullzer

Copy link
Copy Markdown
Member

The comparisson of NULL is a bit special.
So we need to handle this a tad beter else it might not replace NULL
values. or allow you to set NULL values on updates.

To test:

  1. php occ config:app:set dav calendarSubscriptionRefreshRate

Sets it properly to NULL

  1. php occ config:app:set --value='foo' dav calendarSubscriptionRefreshRate

Before: still NULL
After: 'foo'

The comparisson of NULL is a bit special.
So we need to handle this a tad beter else it might not replace NULL
values. or allow you to set NULL values on updates.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works 👍

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable20

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable19

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable18

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

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@ChristophWurst