Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling toString() method on Image with null url causes infinite loop. #29

Closed
budagoveldar opened this issue Feb 8, 2018 · 1 comment
Labels
Milestone

Comments

@budagoveldar
Copy link

budagoveldar commented Feb 8, 2018

Calling toString() method on Image with null url causes infinite loop.

Reason is that 'toHtmlElement' method implicitly calls 'toString' method:
throw new DxaException("URL is null for image component: " + this);
wich in turn calls 'toHtmlElement' method

@azarakovskiy azarakovskiy added this to the v2.0 milestone Feb 9, 2018
@bkoopman bkoopman added the bug label Feb 9, 2018
@bkoopman
Copy link
Contributor

bkoopman commented Feb 9, 2018

Internal reference TSI-3044

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants