Uploaded image for project: 'Website'
  1. Website
  2. WEBSITE-1426

Unable to edit posts in extension support forums

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Extensions Area
    • None

    Description

      It's currently impossible to edit a message posted in extensions support forums area.

      When you click "Edit" icon, it takes you to the quick edit window. After editing and clicking "Submit" button, you get the text "undefined" in the post area (the screenshot attached).

      If you click "Edit" button and then "Full Editor & Preview" button, you get something like this:

      {"form":"\u003Cform method=\u0022post\u0022 action=\u0022https:\/\/www.phpbb.com\/community\/db\/extension\/postsmerging\/support\/topic\/245743\/quick_edit?p=873529\u0022  data-ajax=\u0022titania.quick_edit.submit\u0022 data-filter=\u0022titania.quickEditSubmitFilter\u0022\u003E\n\t\u003Clabel for=\u0022subject\u0022\u003ESubject:\u003C\/label\u003E\u003Cinput type=\u0022text\u0022 class=\u0022inputbox autowidth\u0022 value=\u0022Re: Undefined index: post_created\u0022 tabindex=\u00221\u0022 maxlength=\u002260\u0022 size=\u002245\u0022 id=\u0022subject\u0022 name=\u0022subject\u0022\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\n\t\u003Ctextarea name=\u0022message\u0022 class=\u0022inputbox quickedit elastic\u0022\u003EIt seems you\u0027re using some development version of the extension from Github repo on production board, like [c]3.0.0-dev[\/c]. This is not recommended.\nAlso it\u0027s unclear what exact version of code is that. The lines 364-369 you posted above are just PHP comment which is never executed, so the actually used [c]listener.php[\/c] code seems to be different.\nCould you post the related code of [c]\/ext\/rxu\/postsmerging\/event\/listener.phplistener.php[\/c] from your server?\nAlso the full error backtrace would be good to have too.\u003C\/textarea\u003E\n\t\u003Cfieldset class=\u0022submit-buttons\u0022\u003E\n\t\t\u003Cinput type=\u0022hidden\u0022 name=\u0022creation_time\u0022 value=\u00221704525682\u0022 \/\u003E\n\u003Cinput type=\u0022hidden\u0022 name=\u0022form_token\u0022 value=\u00227da649f6df11b41cbcbc6ed1ae2cebfbc43a989e\u0022 \/\u003E\n\n\t\t\n\t\t\u003Cinput type=\u0022submit\u0022 accesskey=\u0022f\u0022 name=\u0022full_editor\u0022 value=\u0022Full Editor \u0026amp; Preview\u0022 class=\u0022button2\u0022 \/\u003E\u0026nbsp;\n\t\t\u003Cinput type=\u0022submit\u0022 accesskey=\u0022s\u0022 name=\u0022submit\u0022 value=\u0022Submit\u0022 class=\u0022button1\u0022 \/\u003E\u0026nbsp;\n\t\t\u003Cinput type=\u0022submit\u0022 id=\u0022cancel\u0022 name=\u0022cancel\u0022 value=\u0022Cancel\u0022 class=\u0022button2\u0022 \/\u003E\u0026nbsp;\n\t\u003C\/fieldset\u003E\n\u003C\/form\u003E\n"} 

       

      If you reload the page, the message stays unchanged.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: