Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
Detect missing query.next call#12257/v5
more
Tags:  v1.1

Detect missing query.next call[CRQ-12257]

Tracker: Change Requests Priority: HighHigh Assigned to: --
Submitted by: equim Jul 06, 2010 05:44 Status: Resolved Category: --
Severity: -- Release: --
Relations
Loading...
Description
It is very easy to forget to call query.next() within a query block using the script or JEXL (etc) drivers. If you do then it can be hard to understand why your ETL isn't working as it should.

It would be very useful for scriptella to detect this condition and report an error/warning and/or automatically insert a query.next() call at the end of the block.

Details
Comments & Attachments (6)
Associations (0)
Children (0)
References (0)
SCM Commits (1)
History (5)
Baselines (0)
All (6)

Author Comment
ejboy
Nov 26, 2012 09:17
Detect missing query.next call

- Added MissingQueryNextCallDetector to check if query.next has been called on a ParametersCallbackMap and report a warning.
- Updated JexlConnection and ScriptConnection(for JavaScript etc.)
- Added integration tests for JavaScript/JEXL to verify new querying behavior
- Added TestLoggingConfigurer to temporarily override loggers for testing.

scriptella repository, 674
10 Changes