-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content lib - Modify-method changes values to strings in the site config #7255
Comments
vbradnitski
added a commit
that referenced
this issue
Jul 24, 2019
vbradnitski
added a commit
that referenced
this issue
Jul 24, 2019
vbradnitski
added a commit
that referenced
this issue
Jul 29, 2019
vbradnitski
added a commit
that referenced
this issue
Jul 29, 2019
vbradnitski
added a commit
that referenced
this issue
Jul 29, 2019
vbradnitski
added a commit
that referenced
this issue
Jul 29, 2019
@arneroen Thank you for reporting this bug. We will fix it in 7.0.3 |
The current fix is good and should be included in the final version. But it does not solve the wider problem: SiteConfig forms are not used when modifying contents.
To test the solution try the same thing but with the following site config
|
vbradnitski
added a commit
that referenced
this issue
Aug 8, 2019
vbradnitski
added a commit
that referenced
this issue
Aug 8, 2019
vbradnitski
added a commit
that referenced
this issue
Aug 26, 2019
vbradnitski
added a commit
that referenced
this issue
Aug 26, 2019
vbradnitski
added a commit
that referenced
this issue
Aug 26, 2019
vbradnitski
added a commit
that referenced
this issue
Aug 27, 2019
…nfig #7255 renaming according to 7.0 refactoring
GlennRicaud
changed the title
content lib - Modify-method changes booleans to strings in the siteConfig
Content lib - Modify-method changes values to strings in the site config
Aug 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I think I've found a bug where contentLib.modify will change booleans in the siteConfig to strings (eg true -> "true").
(Enonic XP version 7.0.1)
To reproduce it:
And the function that modifies it is just
Using data toolbox we can inspect the config values before and after
Before:
After:
The text was updated successfully, but these errors were encountered: