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