Bug #2340

page.options issue (duktape)

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:11/05/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:API
Target version:4.8
Found in version:Latest BE Platform:Linux

Description

reproducible on icecast plugin. Try to add something to the favorites and try to enter there:
Code:

            page.options.createInt('childTilesX', 'Number of X Child Tiles', 6, 1, 10, 1, '', function (v) {
                page.metadata.childTilesX = v;
            }, true);

Error:

icecast [ERROR]: TypeError (invalid base value) at file:///root/showtime-plugins/icecast/icecast.js:29
icecast [ERROR]: STACK DUMP: TypeError: invalid base value
                     duk_hobject_props.c:2000
                     setPageHeader file:///root/showtime-plugins/icecast/icecast.js:29
                     anon file:///root/showtime-plugins/icecast/icecast.js:212 preventsyield
                     apply  native strict preventsyield
                     anon showtime/page:190 preventsyield

Associated revisions

Revision 88a5ca46
Added by Andreas Smas over 6 years ago

ecamscript: Add support for per-page options

Fixes #2340

Change included in version 4.7.450

History

#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF