GithubHelp home page GithubHelp logo

Comments (5)

blipson89 avatar blipson89 commented on July 18, 2024

Fixed in Synthesis 9.1.2

Thank you for the help @rkuchler

from synthesis.

jroho avatar jroho commented on July 18, 2024

Do you want to request a feature or report a bug?
I think this issue needs to be reopened.

What is the current behavior?
This issue appears to persist when accessing Url from ContentHubImageField which is derived from IImageField :: FileField. I followed the instructions to implement ContentHubImageField, but there appears to be issues accessing Url, which is inherited from Synthesis.FieldTypes.Interfaces.IFileField, and IImageField. It's always null for images set from Content Hub.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Install and configure the Sitecore Connect™ for Sitecore DAM 2.0 module in a Sitecore 9.3 XP solution
  2. Add an image field to any template
  3. Create an item based on that template
  4. In the content editor edit that item and click on the Browse Sitecore DAM link to add an image
  5. Preview the item and note that the image does not render
  6. Url property is always null for the ContentHubImageField (We don't use Render() or ImageFor() as we have a custom library that inherits from IImageField)

What is the expected behavior?
I would expect to be able to access data member, Url, from ContentHubImageField, derived from IImageField :: IFileField. I also added IsContentHub property to the IContentHubImageField interface. This property is useful when exposed here.

My pr does solve the issue for us (we are fully integrated with content hub), if you want to take a look: #97

Please mention your Sitecore version and Synthesis version.
Sitecore 9.3
Synthesis 9.1.0.2

from synthesis.

blipson89 avatar blipson89 commented on July 18, 2024

Hi @jroho,

It looks like a potential fix was released a while ago but I forgot to follow up. Is this issue resolved?

Thanks,
Ben

from synthesis.

jroho avatar jroho commented on July 18, 2024

from synthesis.

blipson89 avatar blipson89 commented on July 18, 2024

Glad to hear it! I'm going to close this issue out then.

from synthesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.