Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » CMIS Module WebKit Fix

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 522 Views
  • jeremykiveo
    Avatar
    Community Member
    5 Posts

    CMIS Module WebKit Fix Link to this post

    Sorry, I'd submit something to the SVN, but I'm kind of a goober at those things - plus, maybe this will help your SEO, somehow.

    Recently, working on a project for our local Town Government, we decided to implement SilverStripe (is there any other choice?) because of the continued ease of use and my silly nosiness. The Town Manager wanted to have a document management system (we chose Alfresco) to handle all of the meeting minutes, briefs, etc. Nosing around the unmaintained modules, I tripped across the CMIS connector (GOD LOVE YOU, MARCUS!).

    Again, being the silly goober I am, I fussed and fidgeted for a week trying to figure out why it "wouldn't work". Then my ├╝ber l33T programmer friend Briley shoots me a blank stare and says "You're using Chrome again, aren't you? Works fine in Firefox."

    Here's how he solved my week long "problem" in five minutes:

    Inability to browse in Webkit browsers is due to character decoding issue. In Webkit browsers, the vertical pipe in the ID parameter is not decoded correctly (encoded as %7C). In ExternalContentPage.php, wherever this is:

    $object = ExternalContent::getDataObjectFor($request->param('ID'));


    I changed it to this:

    $id = str_replace('%7C', '|', $request->param('ID'));
    $object = ExternalContent::getDataObjectFor($id);

    Thanks Briley & Marcus!

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: CMIS Module WebKit Fix Link to this post

    Thanks for pointing this out! The best place to put this is the issues area on the modules homepage - https://github.com/nyeholt/silverstripe-cmis-connector that'll make sure Markus can track bugs.

  • jeremykiveo
    Avatar
    Community Member
    5 Posts

    Re: CMIS Module WebKit Fix Link to this post

    Will do! Thanks, Will!

    522 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.