Problem - since currently there is no stable version of auto_node_title or auto_entitylabel, I tried to use the calculated value in hook_node_presave to update value of Title field with the serial number, but it returns empty array every-time.

CommentFileSizeAuthor
#2 not_able_to_get-2849371-2.patch990 bytesnikunjkotecha

Comments

nikunjkotecha created an issue. See original summary.

nikunjkotecha’s picture

StatusFileSize
new990 bytes

Adding patch to get it working. It is a computed field but not calculated every-time so implemented getValue() in the SerialItem class with condition for computed field removed.

nikunjkotecha’s picture

Status: Active » Needs review
Pavan B S’s picture

Assigned: Unassigned » Pavan B S
Status: Needs review » Reviewed & tested by the community

Patch is working fine

  • colorfield committed 9126134 on 8.x-1.x
    Issue #2849371 by nikunjkotecha, Pavan B S: Not able to get calculated...
colorfield’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @nikunjkotecha for the patch and @Pavan B S for the review! Pushed into dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.