*** The wcm.io Project is closing down this JIRA Instance in favor of GitHub issues. *** Please use the corresponding GitHub projects to report issues - or the mailing list for general discussion.

"value" - config property not used in numberfield if jcr:created and jcr:lastModifed is missing

Description

The configured value for numberfield (field generally) is not used when at least one of the properties (jcr:lastModified and jcr:created) are missing

Activity

Show:

Stefan Seifert August 1, 2018 at 4:08 PM

i cannot reproduce the problem in AEM 6.3 (not sure which AEM version you are using).

anyway wcm.io inherites from the OOTB Granite UI number field and only adds a hidden @TypeHint to the field - all other functionality including the min/max feature is inherited from AEM itself.

so if there is a problem in this area, it's unlikely the source is in the wcm.io code. to be sure replace the wcm.io NumberField resource type with the AEM NumberField resource type and check if the problem is still there - if yes we cannot do anything about in wcm.io.

Badr Tamzarti July 25, 2018 at 12:28 PM

the problem occurs when you have a fixed component with numberfield in a page. the min, max and value properties are configured. if the edit-dialog is opened, the configured value is not displayed.

but if you add the component in a parsys (jcr:created & jcr:lastModified are available) and open the edit-dialog, the configured value is displayed

Stefan Seifert June 27, 2018 at 2:19 PM

can you give more details how to reproduce the problem?

the numberfield granite ui component is normally used to read it's value from the repository, not a configured number.

Cannot Reproduce

Details

Assignee

Reporter

Components

Priority

Created June 25, 2018 at 2:45 PM
Updated August 30, 2018 at 1:35 PM
Resolved August 1, 2018 at 4:08 PM