Y
yadinf

  • Feb 10, 2020
  • Joined Sep 3, 2019
  • 0 best answers
  • If you go into a task and go back to the task list you can't go into another task (or even the same one) without reloading the whole ticket/ browser window.

  • This latest version seems to have a very serious bug in that the UI always locks up making a new Ticket or Task. You have to constantly reload the browser window to escape this, and the item is always made so it's a very odd behavior.

  • Same problem in the KB of OSticket, you can't actually get things to stick because they're converted and stripped out at some point. You can get away with pieces, but a block of actual xml is just ripped apart. Makes the KB useless when dealing with anything markup related as you can't put in the preformatted code bocks that are the answer to the problem.

  • I see this is still an issue. I also see the issue appears to be on this forum as well as it looks like people have tried to post information to help but it's not there. Can anyone manage to post anything that can resolve this? Or can you simply not use certain symbols in the KB which frankly is a serious limitation? The fact that the code is double interpreted is pretty weak, I've never seen this issue ever in a piece of web software/ WYSIWYG editor.

  • Wow... nearly 5 years later and this hasn't been fixed? That's... not great.

  • Looks like it's hard coded into all the yaml files in /include/i18n/en_US/templates/email.

    <em style="font-size: small">Your friendly Customer Support System</em>
    <br>
    <a href="http://osticket.com/"><img width="126" height="19"
    style="width: 126px; " alt="Powered By osTicket"
    src="cid:b56944cb4722cc5cda9d1e23a3ea7fbc"/></a>

    Wherein that src points to an id defined in include/i18n/en_US/file.yaml where the image is base64 data not a normal png file.

  • This is no longer true in 1.12, that footer is not in the templates but it's in every email sent.
    I'm not surprised they make it hard to remove, but there must be a way. Thus far I can only find how to remove footers from site pages, not emails.

  • When editing this default template you see this alert:
    "Some variables may not be a valid for this context. Please check for spelling errors and correct usage for this template.
    %{response}"

    I would presume this is because response is not valid on create, though it's perplexing this would be defective on install.

  • Can't give any more detail on why it happened, didn't seem to actually cause any issue, just got this in an admin email.

    [INSERT INTO ost_attachment SET type = 'H', object_id = 11, file_id = 1, inline = 1]

    Duplicate entry '1-11' for key 'file_object'<br />
    <br />
    ---- Backtrace ----<br />
    #0 (root)/include/mysqli.php(199): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
    #1 (root)/include/class.orm.php(3455): db_query('INSERT INTO
    os...', true, true)<br />
    #2 (root)/include/class.orm.php(658): MySqlExecutor->execute()<br />
    #3 (root)/include/class.thread.php(1189): VerySimpleModel->save()<br />
    #4 (root)/include/class.thread.php(1197): ThreadEntry->createAttachment(Array, 'powered-by-osti...')<br />
    #5 (root)/include/class.thread.php(1665): ThreadEntry->createAttachments(Array)<br />
    #6 (root)/include/class.thread.php(1677): ThreadEntry::create(Array)<br />
    #7 (root)/include/class.thread.php(2748): ThreadEntry::add(Array)<br />
    #8 (root)/include/class.thread.php(2963): MessageThreadEntry::add(Array, Array)<br />
    #9 (root)/include/class.ticket.php(2692): ObjectThread->addMessage(Array, Array)<br />
    #10 (root)/include/class.ticket.php(3099): Ticket->postMessage(Array, 'Email')<br />
    #11 (root)/include/class.thread.php(571): Ticket->postThreadEntry('M', Array)<br />
    #12 (root)/include/class.thread.php(839): Thread->postEmail(Array, Object(ThreadEntry))<br />
    #13 (root)/include/class.mailfetch.php(845): ThreadEntry->postEmail(Array)<br />
    #14 (root)/include/class.mailfetch.php(917): MailFetcher->createTicket(1)<br />
    #15 (root)/include/class.mailfetch.php(997): MailFetcher->fetchEmails()<br />
    #16 (root)/include/class.cron.php(25): MailFetcher::run()<br />
    #17 (root)/include/class.cron.php(110): Cron::MailFetcher()<br />
    #18 (root)/include/api.cron.php(19): Cron::run()<br />
    #19 (root)/include/api.cron.php(40): CronApiController->run()<br />
    #20 (root)/api/cron.php(23): LocalCronApiController::call()<br />
    #21 {main}

  • Assuming this is where bugs are reported as I can find no bug forum or tracker...

    When changing settings in Settings -> Tickets -> Autoresponder you're given an error "Unable to update settings. Correct any errors below and try again." There are no errors below, and the settings are in fact saved.

    Fresh install:
    osTicket Version v1.12.2 (a5d898b) — Up to date
    Web Server Software Apache/2.4.29 (Ubuntu)
    MySQL Version 5.7.27
    PHP Version 7.2.19-0ubuntu0.18.04.2

  • Assuming this is where bugs are reported as I can find no bug forum or tracker...
    %{company.name} does not work despite being part of the default email templates. Instead of returning the value in Settings -> Company -> Company Name it returns 2

    Fresh install:
    osTicket Version v1.12.2 (a5d898b) — Up to date
    Web Server Software Apache/2.4.29 (Ubuntu)
    MySQL Version 5.7.27
    PHP Version 7.2.19-0ubuntu0.18.04.2