fixing bug #5491 : node transaction error in gallery application
Merge branch 'bug-5491' into core-5.14.x