View Issue Details

IDProjectCategoryView StatusLast Update
1968Composr alpha bug reportsGeneral / Uncategorisedpublic2015-07-10 12:25
ReporterGuest Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary1968: Calculatr addon results in error
DescriptionWhen calculatr is added and calculate button is pressed it results in error
1: SyntaxError: missing ) after argument list
Steps To ReproduceAdd the calculator addon
enter the values
Click on calculate button
TagsNo tags attached.
Attach Tags
Attached Files
calculatr_error.png (44,479 bytes)   
calculatr_error.png (44,479 bytes)   
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Jason Verhagen

2015-06-27 03:30

developer   ~2925

I committed a fix to github for this error. It was due to uniqid('',true) returning an ID with a decimal point in it and Java didn't like that. uniqid() would probably be good enough, but I chose to wrap it in a str_replace to replace the decimal point with an underscore. The cache $map array key was causing an extra input field on the calculator form, so I added an additional $key check for cache.

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised