-
Bug
-
Resolution: Fixed
-
Major
-
4.3.0
-
None
-
None
-
4.3 RC1
Steps to reproduce :
- Open the script tool
- Launch a simple JCR query with the second argument to false
Repository.query("//element(*, ametys:content)", false);
- You get the following error:
ReferenceError: JCR is not defined at query(generated script:1356:44949-44951) at main(generated script:2:21-75) at :program(generated script:1757:60293-60298) [...]
[REPOSITORY-451] [Script binding] Repository.query : convertToAmetysObject=false doesn't work
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: 4.3.0 [ 15199 ] |
Description |
Original:
Steps to reproduce :
* Open the script tool * Launch a simple JCR query with the second argument to {{true}} {code}Repository.query("//element(*, ametys:content)", false);{code} * You get the following error: {code}ReferenceError: JCR is not defined at query(generated script:1356:44949-44951) at main(generated script:2:21-75) at :program(generated script:1757:60293-60298) [...]{code} |
New:
Steps to reproduce :
* Open the script tool * Launch a simple JCR query with the second argument to {{false}} {code}Repository.query("//element(*, ametys:content)", false);{code} * You get the following error: {code}ReferenceError: JCR is not defined at query(generated script:1356:44949-44951) at main(generated script:2:21-75) at :program(generated script:1757:60293-60298) [...]{code} |