Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Timothy Sanders 3 posts 73 karma points
    Jul 16, 2019 @ 17:47
    Timothy Sanders
    0

    Null Media Path Column in CMS Media

    I've been running Umbraco on a client's site for over a year now with no issues but recently I upgraded from 7.14 to 7.15.

    The day I upgraded the client noticed they could no longer use the media picker to insert images into the body of articles. After a bit of poking around I noticed that all media files (no matter how they were getting uploaded) contained null values in the database column cmsMedia.mediaPath.

    All images uploaded prior to 7.15 contain a value, all uploads that take place contain a null value in this column. If I update the table with appropriate values then the client is once again able to insert images (and pdfs) into the body of articles. Every time a new media file gets uploaded though it has this null value until I manually insert the proper link.

    I'm not sure if this is issue with my particular install or if its effecting other users. Any advice or fix? Right now I'm looking at creating a trigger to run on insert into that table, grabbing the proper url from cmsPropertyData and inserting it into cmsMedia.

    NOTE: I'm not using any sort of plug-in to upload images, just the default interface which previously worked.

    EDIT: For now a trigger that runs on insert into cmsPropertyData works for fixing null values being inserted into cmsMedia by the Media uploader.

    Thank you.

  • Amir Khan 1199 posts 2567 karma points
    Jul 18, 2019 @ 19:39
    Amir Khan
    0

    Hi Timothy, known issue, fix here: https://our.umbraco.com/download/releases/7150

  • Timothy Sanders 3 posts 73 karma points
    Jul 19, 2019 @ 11:40
    Timothy Sanders
    0

    Great, thank you very much. The on insert trigger I set up works fine but good to know it wasn't just my install and this is a known issue.

    Thanks again, have a great day :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies