Skip to content

add tests for mix:lastModified and handling for implementation loader #125

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

Merged
merged 1 commit into from
Jan 7, 2014

Conversation

dbu
Copy link
Member

@dbu dbu commented Jan 5, 2014

tests around the behaviour with mix:lastModified

this complements jackalope/jackalope#201 but should just lead to skipped tests if nothing is done

*
* We do not enforce the update for the workspace operations as that would
* invalidate the purpose of those methods and potentially lead to big
* performance penalties.
Copy link
Member Author

Choose a reason for hiding this comment

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

is this sane? with phpcr-odm for example, we never use the workspace operations anyways...

Copy link
Member

Choose a reason for hiding this comment

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

i do not understand the comment

Copy link
Member Author

Choose a reason for hiding this comment

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

there is Workspace::removeItem that does not go through a session. in jackrabbit for example, we simply send the path of what should be deleted to jackrabbit, without even loading that node. if we would require this to change the date, we would lose all performance gains of that as we would have to load the node first to change the modification date.

Copy link
Member

Choose a reason for hiding this comment

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

hmm i think i still do not get it .. but I have no objections in the PR. if you want we can discuss it tomorrow at the office.

Copy link
Member Author

Choose a reason for hiding this comment

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

i'll still make the comment more explicit, then merge.

@dbu dbu mentioned this pull request Jan 7, 2014
dbu added a commit that referenced this pull request Jan 7, 2014
add tests for mix:lastModified and handling for implementation loader
@dbu dbu merged commit c381af4 into master Jan 7, 2014
@dbu dbu deleted the lastmodified branch January 7, 2014 20:22
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.

2 participants