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

Unable to upload files to the document content type #13208

Closed
bryanboza opened this issue Dec 12, 2017 · 3 comments
Closed

Unable to upload files to the document content type #13208

bryanboza opened this issue Dec 12, 2017 · 3 comments

Comments

@bryanboza
Copy link
Contributor

Related to #11609

We are experiencing some issues when you try to upload a some file to the document content type, this because we violates the foreign key constraint "fk_workflow_step"

Expected Behavior

We should be able to upload documents to this structure without problems

Current Behavior

Since the workflow changes now we have problems uploading files to this content types
Here the log:
https://gist.github.com/bryanboza/2073b675aa3aeefb71bce12b24d7cc71

Steps to Reproduce (for bugs)

  1. Login as admin
  2. Go to the content portlet
  3. Select the document content type
  4. Try to upload some file here
    5 .Check the dotcms.log file

Your Environment

Tested in the last master // postgres // FF

@bryanboza bryanboza added this to the Cody Current milestone Dec 12, 2017
@jdotcms jdotcms self-assigned this Dec 13, 2017
jdotcms pushed a commit that referenced this issue Dec 15, 2017
jdotcms pushed a commit that referenced this issue Dec 15, 2017
jgambarios pushed a commit that referenced this issue Dec 19, 2017
* #11609 : Updating DB scripts. Adding upgrade task to create intermediate table and other minor changes.

* #11609 added first draft for add/edit workflow action

* #11609 almost code done for save/edit workflow actions associated to the scheme

* #11609 the add action and action to step are done

* #11609 Added the delete steps and dependencies/minor fixes for transactions, etc

* #11609 delete action from step done in the ui/ajax and endpoint

* #11609 Added the deletes for the UI

* #12960 changes for reorder done

* #13104 Added the new field requires lock options that supports locked, unlocked and both choices

* #12960 added the scripts changes for all dbs

* #12960 added changes for the workflow, action and step new relationships

* #12960 notes and fixes

* #12960 fixing the IT test

* #12960 code review feedback

* #11691 added changes for the new endpoint for getting content type schemes

* #12960 added changes for h2 and mysql

* #12960 added the changes for the show_on column

* #12960 adding changes for the showOn

* #12960 changes for show on functionality

* resolving the error of the missing schemeid

* solving issue with content resource test

* Fixing the Task04305UpdateWorkflowActionTable

* Reverting to master configuration

* #12960 fixing postgres and oracle UT

* #11609 fixes for 11609

* #11609 configuration rollback

* #11609 fixes by code review

* #13208 now when there is a wrong workflow task associated to the step, it is deleted
@jgambarios
Copy link
Contributor

PR: #13224

jgambarios pushed a commit that referenced this issue Dec 19, 2017
* #11609 : Updating DB scripts. Adding upgrade task to create intermediate table and other minor changes.

* #11609 added first draft for add/edit workflow action

* #11609 almost code done for save/edit workflow actions associated to the scheme

* #11609 the add action and action to step are done

* #11609 Added the delete steps and dependencies/minor fixes for transactions, etc

* #11609 delete action from step done in the ui/ajax and endpoint

* #11609 Added the deletes for the UI

* #12960 changes for reorder done

* #13104 Added the new field requires lock options that supports locked, unlocked and both choices

* #12960 added the scripts changes for all dbs

* #12960 added changes for the workflow, action and step new relationships

* #12960 notes and fixes

* #12960 fixing the IT test

* #12960 code review feedback

* #11691 added changes for the new endpoint for getting content type schemes

* #12960 added changes for h2 and mysql

* #12960 added the changes for the show_on column

* #12960 adding changes for the showOn

* #12960 changes for show on functionality

* resolving the error of the missing schemeid

* solving issue with content resource test

* Fixing the Task04305UpdateWorkflowActionTable

* Reverting to master configuration

* #12960 fixing postgres and oracle UT

* #11609 fixes for 11609

* #11609 configuration rollback

* #11609 fixes by code review

* #13208 now when there is a wrong workflow task associated to the step, it is deleted

* #11690 fixes for show_on

* #11609 Fixes for the indexer that could not convert a short to boolean on mssql

* #11609 rollback enterprise reference

* #11609 removing unnecessary change

* #11609 feedback changes

* #11609 fixing the log level
@bryanboza
Copy link
Contributor Author

We still having problems on this card, because now after upload the file we don't have actions on this workflow, just the "Cancel" and don't do nothing
Here the video: https://screencast.com/t/9lyN91eg

@bryanboza
Copy link
Contributor Author

Fixed, we have no action because the document management is a mandatory workflow, and also we create a new ticket for the actions here #13307. Those are separated things... The main problem was fixed on the PR...

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

4 participants