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

Can't add minutes / agenda after deleting #1680

Closed
ietf-svn-bot opened this issue Apr 20, 2015 · 5 comments
Closed

Can't add minutes / agenda after deleting #1680

ietf-svn-bot opened this issue Apr 20, 2015 · 5 comments

Comments

@ietf-svn-bot
Copy link

owner:rcross@amsl.com resolution_fixed type_defect | by rcross@amsl.com


In the proceedings material manager, if someone uploads an agenda, then deletes that agenda, you cannot upload a new agenda. The problem is that the document state gets set to deleted on delete, but doesn't get set back to active on upload.

http://trac.tools.ietf.org/tools/ietfdb/changeset/9432/trunk/ietf/secr/proceedings/views.py


Issue migrated from trac:1680 at 2022-03-04 04:35:30 +0000

@ietf-svn-bot
Copy link
Author

@rcross@amsl.com commented


Proposing this change:

        # set Doc state
        if doc.type.slug=='slides':
            doc.set_state(State.objects.get(type=doc.type,slug='archived'))
            doc.set_state(State.objects.get(type='reuse_policy',slug='single'))
        else:
            doc.set_state(State.objects.get(type=doc.type,slug='active'))

@ietf-svn-bot
Copy link
Author

@rcross@amsl.com changed status from new to closed

@ietf-svn-bot
Copy link
Author

@rcross@amsl.com changed resolution from `` to fixed

@ietf-svn-bot
Copy link
Author

@rcross@amsl.com commented


Fixed in 5ece489:

Fixes #1680. Can't add minutes / agenda after deleting them. Commit ready for merge.

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


Fixed in 8ba082c:

Merged in 5ece489 from rcross@amsl.com:
Fixes issue #1680.

Fixes #1680.  Can't add minutes / agenda after deleting them.   

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant