-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrade to the latest version of XP 8 #2427 #2428
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete
| propertyValue = this.localeMessageResolver.localizeMessage( attribute.getValue(), propertyValue ); | ||
| } | ||
| json.put( "@" + attribute.getKey(), attribute.getValue() ); | ||
| private Map<String, Object> toJson( final GenericValue property ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generic value can already return raw value perfectly serializable
| { | ||
| private final CmsFormFragmentService cmsFormFragmentService; | ||
|
|
||
| public CmsFormFragmentServiceResolver( final CmsFormFragmentService cmsFormFragmentService ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users app doesn't need to deal with fragments
| import com.enonic.xp.form.FormOptionSetOption; | ||
| import com.enonic.xp.form.Input; | ||
| import com.enonic.xp.inputtype.InputTypes; | ||
| import com.enonic.xp.util.GenericValue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Unused import - com.enonic.xp.util.GenericValue.
|
|
||
| import com.enonic.xp.data.Value; | ||
| import com.enonic.xp.form.*; | ||
| import com.enonic.xp.data.ValueFactory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Unused import - com.enonic.xp.data.ValueFactory.
| package com.enonic.xp.app.users.json.form; | ||
|
|
||
| import java.util.Iterator; | ||
| import java.util.Optional; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Unused import - java.util.Optional.
No description provided.