
|
If you were logged in you would be able to see more operations.
|
|
|
|
Currently if a string property contains spaces or is empty but not null, a jcr property is also created in the JCR repository. All the forms that are used to fill in data for content object instances return empty strings for all the fields that are not filled by the user. Especially in forms with no mandatory data many fields are empty and currently the store contains thousants of empty string properties.
We proposed NOT TO SAVE BLANK string (content object) properties. This means that if a string property value is either NULL (does not exist) or exists but has no character or it has only space characters then no property will be created in the JCR Reopsitory.
There is a concern about how this may affect the possibility of JOINS when JCR 2 make this possible. However this concern holds true for any other field type since integer or date fields with no value are not created in the jcr repository.
|
|
Description
|
Currently if a string property contains spaces or is empty but not null, a jcr property is also created in the JCR repository. All the forms that are used to fill in data for content object instances return empty strings for all the fields that are not filled by the user. Especially in forms with no mandatory data many fields are empty and currently the store contains thousants of empty string properties.
We proposed NOT TO SAVE BLANK string (content object) properties. This means that if a string property value is either NULL (does not exist) or exists but has no character or it has only space characters then no property will be created in the JCR Reopsitory.
There is a concern about how this may affect the possibility of JOINS when JCR 2 make this possible. However this concern holds true for any other field type since integer or date fields with no value are not created in the jcr repository. |
Show » |
|
StringProperty is not store to JCR repository if its value is a blank string.
This is true for multi value StringProperty, i.e. if ALL values are blank strings then no JCR property is created to the repository