View Issue Details

IDProjectCategoryView StatusLast Update
0001968Composr alpha bug reports[All Projects] General / Uncategorisedpublic2015-07-10 12:25
ReportersobhithAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Summary0001968: 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.
Sponsorship open

Activities

sobhith

2015-06-17 00:59

reporter  

calculatr_error.png (44,479 bytes)
calculatr_error.png (44,479 bytes)

Jason Verhagen

2015-06-27 03:30

reporter   ~0002925

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