View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1968 | Composr alpha bug reports | General / Uncategorised | public | 2015-06-17 00:59 | 2015-07-10 12:25 |
Reporter | Guest | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 1968: Calculatr addon results in error | ||||
Description | When calculatr is added and calculate button is pressed it results in error 1: SyntaxError: missing ) after argument list | ||||
Steps To Reproduce | Add the calculator addon enter the values Click on calculate button | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Sponsorship open | |||||
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |