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

Hierarchy transparent #394

Closed
wants to merge 5 commits into from
Closed

Conversation

lsitu
Copy link
Contributor

@lsitu lsitu commented May 27, 2014

Hi Andrew,
As discussed during the stand up meeting this morning, I put all my codes together for you to review the working transparent hierarchy features except the getParent() implantation, which is separated and expressed in #388. This includes the transparent hierarchy support for versions and all other components in the main fcrepo4 repository.

@@ -56,8 +56,11 @@ public Model createModelForResource(final FedoraResource resource,

if (resource.getNode().isNodeType(
FedoraJcrTypes.FEDORA_RESOURCE)) {
if (resource.getPath(graphSubjects) == null) {
System.out.println("resource.getPath() is Null ");
Copy link

Choose a reason for hiding this comment

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

A "System.out" is probably not adequate for stopping the NPE on the following lines.

@lsitu
Copy link
Contributor Author

lsitu commented Jul 8, 2014

I've corrected the codes in this PR as suggested.

@lsitu
Copy link
Contributor Author

lsitu commented Jul 8, 2014

Okay, I've reset the trace in my last commit, updated the logging message, and removed the System.out message since exception message includes the null path information.

@osmandin osmandin closed this Aug 28, 2015
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.

None yet

3 participants