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

Push Publish does not allow to upload bundle generated with same license #12465

Closed
shaydotcms opened this issue Aug 30, 2017 · 2 comments
Closed

Comments

@shaydotcms
Copy link

I create a bundle then do "Download for Publish". Then when if I click "Upload bundle" and try to upload the same bundle I created before, the log says: ERROR lang.String: Error Publishing: com.dotcms.publishing.DotBundleException: Can't handle a bundle generated with the same licence.

However, I'm allowed to upload that same bundle in a different server even though this server is using the same license.

Expected Behavior

Dotcms should allow to upload bundle generated with the same license

Current Behavior

System doesn't allow to upload a bundle generated with the same license.
ERROR lang.String: Error Publishing: com.dotcms.publishing.DotBundleException: Can't handle a bundle generated with the same licence.

Steps to Reproduce (for bugs)

  1. Login to dotcms instance
  2. Create a bundle out of any asset/page/folder/etc
  3. Navigate to Site Browser> Publishing Queue> Bundles
  4. Select Download for Publish to download the bundle
  5. Delete the bundle
  6. Click Upload Bundle and look for the bundle you just downloaded
  7. You will see the error in logs

Your Environment

  • dotCMS version used: dotcms master
  • Database and version: Postgres 9.3.5
  • Operating System and version: Ubuntu 14.04.1
  • Browser Name and version: Firefox v45.0.1
  • Application Server and version: Tomcat 8
  • Java Brand and version: Java 8
@shaydotcms shaydotcms added this to the Rex Current milestone Aug 30, 2017
@erickgonzalez erickgonzalez self-assigned this Aug 30, 2017
@erickgonzalez erickgonzalez removed their assignment Sep 7, 2017
@dsilvam dsilvam modified the milestones: Rex Next, Rex Current Sep 12, 2017
@oarrietadotcms
Copy link
Contributor

Same license/bundle error is not present anymore: https://gist.github.com/oarrietadotcms/dac8d49005b27d4c0b573845d6c7dce7

I see another errors that we will adress in another ticket:

ERROR: duplicate key value violates unique constraint "permission_reference_asset_id_key"

@oarrietadotcms
Copy link
Contributor

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

5 participants