Skip to content
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

MODE-2518: Attach binary content jcr:content #1507

Merged
merged 1 commit into from
Jan 8, 2016

Conversation

okulikov
Copy link
Member

@okulikov okulikov commented Jan 7, 2016

This PR fixes bug when property with null value (ie just created node) is not displayed by property editor.

String display = values(def, p);
String value = p.isMultiple() ? multiValue(p)
: singleValue(p, def, repository, workspace, path);
list.add(new JcrProperty(name, type, value, display));
} catch (PathNotFoundException e) {
Copy link
Member

Choose a reason for hiding this comment

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

should this exception be ignored ?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes. it means that property is not assign yet.

@hchiorean
Copy link
Member

@rhauch are you ok with merging this ?

@rhauch
Copy link
Contributor

rhauch commented Jan 8, 2016

@hchiorean, looks good.

hchiorean pushed a commit that referenced this pull request Jan 8, 2016
MODE-2518: Attach binary content jcr:content
@hchiorean hchiorean merged commit f5f21e3 into ModeShape:master Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants