bloomreach / docs-feedback

1 stars 0 forks source link

Use of deprecated HippoItem.getProperty method in documentation #89

Closed jpierson-at-riis closed 2 years ago

jpierson-at-riis commented 2 years ago

The following two pages have more than one example each which makes use of the deprecated getProperty method on the HippoItem class.

https://documentation.bloomreach.com/14/library/concepts/content-beans/creating-content-beans.html https://documentation.bloomreach.com/13/library/concepts/content-beans/creating-content-beans.html

According to the documentation it is recommended instead to use getSingleProperty.

Deprecated Since 13.3.0. Use either getSingleProperty(String) for single fields or getMultipleProperty(String) for multiple fields.

These documentation pages should be updated so that all examples reflect the recommended method use.

nvankampenhout commented 2 years ago

Thanks for the heads-up, getProperty has now been replaced with getSingleProperty in the examples.