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 Edit Draft BCO #297

Closed
seankim658 opened this issue Jan 31, 2024 · 1 comment
Closed

Unable to Edit Draft BCO #297

seankim658 opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@seankim658
Copy link
Member

Describe the bug
I created a BCO called "OncoMX Biomarkers" previously and published version 0.1. I now am trying to edit the saved draft so I can publish a version 0.2. However, when I click on the BCO from the "My BCOs" search results I get an Alert saying "Request failed with status code 403". Screenshot below:

image

image

To Reproduce
Steps to reproduce the behavior:
Follow steps from above.

Expected behavior
I expect to enter the BCO editor and be able to edit the domains to publish a new version.

Screenshots
Screenshots above.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
@HadleyKing HadleyKing self-assigned this Feb 10, 2024
@HadleyKing HadleyKing added the bug Something isn't working label Feb 10, 2024
HadleyKing added a commit that referenced this issue Apr 25, 2024
Fix #336 #321 #297
    Changes to be committed:
	modified:   src/services/auth.service.js
@seankim658
Copy link
Member Author

Confirmed this is still an issue. When I click on one of my draft BCOs I get no error and a new tab opens and then closes immediately. If I click on one of my published BCOs the new tab stays opened with status code 403.

HadleyKing added a commit that referenced this issue May 20, 2024
* New documentation files
Changes to be committed:
	modified:   README.md
	new file:   docs/faq.md
	modified:   docs/troubleshooting.md

* Update .secrets and settings.py for Email settings
On branch forgot_password
Changes to be committed:
	modified:   server/.secrets.example
	modified:   server/portaluserdb/settings.py

* Update portalusersdb to config

Changed the file name for the main application to `confg`
Changes to be committed:
	renamed:    server/portaluserdb/__init__.py -> server/config/__init__.py
	renamed:    server/portaluserdb/asgi.py -> server/config/asgi.py
	renamed:    server/portaluserdb/fixtures/local_data.json -> server/config/fixtures/local_data.json
	renamed:    server/portaluserdb/fixtures/test_portal.json -> server/config/fixtures/test_portal.json
	new file:   server/config/settings.py
	renamed:    server/portaluserdb/urls.py -> server/config/urls.py
	renamed:    server/portaluserdb/wsgi.py -> server/config/wsgi.py
	modified:   server/manage.py
	modified:   server/portaluserdb/settings.py

* Added functions to fix saving a temp draft

Changes to be committed:
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/services/bco.service.js
	modified:   client/src/slices/bcoSlice.js

* Fix for get_published_bco

needed to modify how a published BCO is read
Changes to be committed:
	modified:   client/src/slices/bcoSlice.js
	modified:   server/users/apis.py

* Remove generate ETag functionality from Portal
Changes to be committed:
	modified:   client/src/components/builder/index.js
	modified:   client/src/slices/bcoSlice.js

* Update Prefix functions for new APIs
Changes to be committed:
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Update to search page and results.
Changes to be committed:
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/components/bcodbs/SearchResults.js
	modified:   client/src/slices/searchSlice.js

* Update local data prefixes
Changes to be committed:
	modified:   server/config/fixtures/local_data.json

* Modifications to Prefix Registry:

support new Prefix Model
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/App.css
	new file:   client/src/components/prefix/PrefixModify.js
	deleted:    client/src/components/prefix/PrefixResults.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js
	modified:   client/src/routes.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Change Public to a checkbox

Changes to be committed:
	modified:   src/components/account/Profile.js

* Prefix Registry UI changes

Dialogue box for prefix modify and add user permissions
Changes to be committed:
	modified:   client/src/components/NotificationBox.js
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Update Prefix model

Added a `Public` and `public_hostname` to model

Changes to be committed:
	modified:   server/.secrets.example
	modified:   server/config/fixtures/local_data.json
	new file:   server/prefix/migrations/0002_prefix_public_prefix_public_hostname.py
	modified:   server/prefix/models.py
	modified:   server/prefix/selectors.py

* Prefix Modify Dialog Box
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Prefix Modify Box Part II
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* UI fixes

- Commit 6fc3b4c
- Fix colors on NavBar for links
Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/components/quickSearch.js
	modified:   client/src/components/resources/Citations.js
	modified:   client/src/components/resources/Galaxy.js
	modified:   client/src/components/resources/Hive.js
	modified:   client/src/layouts/MainNavBar.js

* Message handeling for Prefix registry
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/slices/prefixSlice.js

* PRefix registry sync with User DB

Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Prefix db synch with registry UI

Changes to be committed:
	modified:   server/bcodb/apis.py
	modified:   server/prefix/apis.py
	modified:   server/prefix/services.py

* Fix create BCO response handeling
Changes to be committed:
	modified:   .gitignore
	modified:   client/src/slices/bcoSlice.js

* Add user search feature for Prefix Registry
Changes to be committed:
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/prefix/PrefixModify.js
	new file:   client/src/components/prefix/UserSearch.js
	modified:   client/src/services/auth.service.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js
	modified:   client/src/slices/searchSlice.js

* Move UserSearch content to PrefixModify

Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	deleted:    client/src/components/prefix/UserSearch.js

* Fix for Google OAuth CSRF Token issue

Fix #336 #321 #297
    Changes to be committed:
	modified:   src/services/auth.service.js

* Adjust registry variables for rendering
Changes to be committed:
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js

* Fix for Annon search (no login)
Changes to be committed:
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/services/auth.service.js

* BCO validation fix

Changes to be committed:
	modified:   client/src/slices/bcoSlice.js
	modified:   server/users/apis.py

* Update validate function submission

Changes to be committed:
	modified:   client/src/components/account/Profile.js
	modified:   client/src/components/auth/Login.js
	modified:   client/src/services/bco.service.js
	modified:   server/config/settings.py

* Update to "Add BCODB"

Changes to be committed:
	modified:   server/authentication/services.py
	modified:   server/bcodb/apis.py
	new file:   server/bcodb/migrations/0008_remove_bcodb_group_permissions.py
	modified:   server/bcodb/models.py

* Update testing data fixtures
Changes to be committed:
	modified:   server/config/fixtures/local_data.json
	modified:   server/config/fixtures/test_portal.json

* Change public host name in test data
Changes to be committed:
	modified:   server/config/fixtures/test_portal.json

* Fixes for Publish BCO rerouting.

Changes to be committed:
	deleted:    client/src/components/builder/indexOld.js
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/slices/bcoSlice.js

* Hide Groups button
Changes to be committed:
	modified:   client/src/components/account/Servers.js

* Fixes for login
Changes to be committed:
	modified:   client/.env.example
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   server/bcodb/services.py
	modified:   server/tests/fixtures/testing_data.json
	modified:   server/users/apis.py

* Published BCO Rendering

Changes to be committed:
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/components/viewer/index.js
	modified:   server/bcodb/services.py

* Ui fixes

Changes to be committed:
	modified:   client/src/App.css
	new file:   client/src/components/About.js
	new file:   client/src/components/FullWidthBox.js
	new file:   client/src/components/Home.js
	new file:   client/src/components/Resources.js
	new file:   client/src/components/ThirdBox.js
	deleted:    client/src/components/about/About.js
	deleted:    client/src/components/about/BCOnexus.js
	deleted:    client/src/components/about/HorizontalHeading.js
	deleted:    client/src/components/about/MeetOurTeam.js
	deleted:    client/src/components/about/MemberInfo.js
	deleted:    client/src/components/about/MemberInfoCard.js
	deleted:    client/src/components/about/OurTeam.js
	deleted:    client/src/components/about/Overview.js
	deleted:    client/src/components/about/SB.js
	deleted:    client/src/components/about/Story.js
	deleted:    client/src/components/about/head.js
	deleted:    client/src/components/about/index.js
	deleted:    client/src/components/home/BcoDb.js
	deleted:    client/src/components/home/BioComputeResources.js
	deleted:    client/src/components/home/Builder.js
	deleted:    client/src/components/home/Documentation.js
	deleted:    client/src/components/home/FdaBox.js
	deleted:    client/src/components/home/Galaxy.js
	deleted:    client/src/components/home/Hive.js
	deleted:    client/src/components/home/Intro.js
	deleted:    client/src/components/home/Specification.js
	deleted:    client/src/components/home/Tsc.js
	deleted:    client/src/components/home/Workshop.js
	deleted:    client/src/components/home/index.js
	deleted:    client/src/components/resources/index.js
	modified:   client/src/routes.js

* UI Cleanup
Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/components/About.js
	modified:   client/src/components/FullWidthBox.js
	modified:   client/src/components/Home.js
	modified:   client/src/components/Resources.js
	modified:   client/src/components/ThirdBox.js
	modified:   client/src/components/account/Profile.js
	modified:   client/src/components/account/Servers.js
	modified:   client/src/components/account/index.js
	modified:   client/src/components/account/passwordReset.js
	modified:   client/src/components/quickSearch.js
	new file:   client/src/images/cgc2.png
	modified:   client/src/routes.js

* Reimplement token reset for bcodb

Changes to be committed:
	modified:   client/src/components/account/Servers.js
	modified:   client/src/services/auth.service.js
	modified:   client/src/slices/accountSlice.js
	modified:   server/bcodb/apis.py
	modified:   server/bcodb/services.py
	modified:   server/bcodb/urls.py

* Revamp About, Home, and Resources pages
Changes to be committed:
	deleted:    client/src/components/account/bcodbGroups/dbInfo.js
	deleted:    client/src/components/account/bcodbGroups/editGroup.js
	deleted:    client/src/components/account/bcodbGroups/groups.js
	deleted:    client/src/components/account/bcodbGroups/index.js
	deleted:    client/src/components/account/bcodbGroups/permissions.js
	deleted:    client/src/components/resources/Builder.js
	deleted:    client/src/components/resources/CGC.js
	deleted:    client/src/components/resources/Citations.js
	deleted:    client/src/components/resources/DNAnexus.js
	deleted:    client/src/components/resources/Galaxy.js
	deleted:    client/src/components/resources/Hive.js
	deleted:    client/src/components/resources/Packages.js
	deleted:    client/src/components/resources/Tsc.js
	new file:   client/src/images/swagger.png
	renamed:    client/src/components/About.js -> client/src/pages/About.js
	renamed:    client/src/components/Home.js -> client/src/pages/Home.js
	renamed:    client/src/components/Resources.js -> client/src/pages/Resources.js
	modified:   client/src/routes.js

* Update MUI

Changes to be committed:
	modified:   client/src/components/auth/Login.js
	modified:   client/src/components/auth/PasswordReset.js
	modified:   client/src/components/auth/Register.js
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/components/bcodbs/index.js
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/contibutor.js
	modified:   client/src/components/builder/descriptionDomain.js
	modified:   client/src/components/builder/errorDomain.js
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/components/builder/extensionDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/builder/ioDomain.js
	modified:   client/src/components/builder/parametricDomain.js
	modified:   client/src/components/builder/preview.js
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/builder/rawJson.js
	modified:   client/src/components/builder/reviewer.js
	modified:   client/src/components/builder/specialFeilds.js
	modified:   client/src/components/builder/treeView.js
	modified:   client/src/components/builder/usabilityDomain.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/ObjectNavBar.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/layouts/shared/AppDropDown.js
	modified:   client/src/layouts/shared/DocDropDown.js
	modified:   client/src/layouts/shared/HelpDropDown.js
	modified:   client/src/layouts/shared/ToolsDropDown.js

* update profile

* Fix Builder display
Changes to be committed:
	modified:   client/src/components/builder/index.js

* Changes to accomidate BCO Score

Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/layouts/shared/ToolsDropDown.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/slices/bcoSlice.js

* Align left for citations
Changes to be committed:
	modified:   client/src/App.css

* Fixes for Publishing and validating

Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/slices/bcoSlice.js

* Add funding sources to about pages

Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/pages/About.js

* Add loading components
Changes to be committed:
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/viewer/index.js
	new file:   client/src/images/biocomputing.gif

* Add loading card for BCOs

Changes to be committed:
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/errorDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/builder/rawJson.js
	modified:   client/src/slices/bcoSlice.js

* Add loading to bcodb page

also fixed Execution Domain formatting
Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/pages/Bcodbs.js

* Update quickSearch for loading function

Changes to be committed:
	modified:   client/src/components/quickSearch.js

* Login Notice
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/components/account/index.js
	modified:   client/src/components/auth/Login.js
	modified:   client/src/components/auth/PasswordReset.js
	modified:   client/src/components/auth/Register.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/quickSearch.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/MainLayout.js
	modified:   client/src/layouts/MainNavBar.js
	modified:   client/src/layouts/ObjectNavBar.js
	modified:   client/src/layouts/ObjectViewLayout.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/routes.js
	modified:   client/src/slices/accountSlice.js
	modified:   client/src/slices/searchSlice.js

* Expired JWT implemented
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/App.js
	modified:   client/src/components/quickSearch.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/routes.js
	modified:   client/src/slices/accountSlice.js
	modified:   client/src/slices/searchSlice.js

* Revert "Prod push" (#355)
@tiwa1154 tiwa1154 closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants