We are trying to change the default value of ImportImpexCronJob logtodatabase attribute via impex. The logtodatabase default value is set in CronJob and redeclared in ImportImpexCronJob *-items.xml.
We do not want to extend/subclass and redeclare the value.
We can update attributes via impex following the advice in this question (https://experts.hybris.com/questions/2379/view.html).
We can for example do the following:
UPDATE AttributeDescriptor;enclosingType(code)[unique=true];qualifier[unique=true];optional ;UserPasswordChangeAudit;passwordEncoding;true
However the following fails:
UPDATE AttributeDescriptor;enclosingType(code)[unique=true];qualifier[unique=true];attributeType(code);defaultValue ;ImpExImportCronJob;logToDatabase;true
From the log the update fails as: 2=ValueEntry('logToDatabase'=logToDatabase,unresolved=false,ignore=false), 3=ValueEntry('true'=null,unresolved=null,ignore=false)value "true"=null, unresolved=null, ignore=false
When I do an export I can see that logtodatabase has an attribute type of java.lang.Boolean but the defaultValue shows as a long encoded string!
So I have a couple of questions: Can I update the default value with impex? If so - how?
Thanks in advance