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

Builder: copy with images(attachments) [test_copy_with_images_as_attachments] #14

Open
bobslee opened this issue May 10, 2017 · 0 comments

Comments

@bobslee
Copy link
Contributor

bobslee commented May 10, 2017

For a stored Builder with Orbeon image-controls (static, attachment, annotation), these images are stored as "ir_attachment" on the Builder model.

A copy of the Builder should copy these ir_attachment(s) and link/reference to the new Builder record.
This currently fails.

Write unit-test to check whether this happens:

  • New ir_attachment objects/records with identical image (datas etc.)
  • The new (expected) images are present in the new (copied) Builder XML - And ain't the one from the source (copy) Builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant