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

Cannot create new topic for existing event #1224

Closed
Arantor opened this issue Jan 18, 2014 · 1 comment
Closed

Cannot create new topic for existing event #1224

Arantor opened this issue Jan 18, 2014 · 1 comment
Labels

Comments

@Arantor
Copy link
Contributor

Arantor commented Jan 18, 2014

If an event was created, but without a linked topic, there's no way to do it (not with either topic->link to calendar or from the modify calendar event screen)

@Oldiesmann
Copy link
Contributor

I looked into this a bit further and unfortunately it's not an easy fix.

When you get to Post(), it assumes that if you're editing an event, you're editing one already linked to a topic:

        // Editing an event?  (but NOT previewing!?)
        if (empty($context['event']['new']) && !isset($_REQUEST['subject']))
        {
            // If the user doesn't have permission to edit the post in this topic, redirect them.
            if ((empty($id_member_poster) || $id_member_poster != $user_info['id'] || !allowedTo('modify_own')) && !allowedTo('modify_any'))

Oldiesmann added a commit that referenced this issue Feb 19, 2014
! Allow linking of existing events to new topics (fixes #1224)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants