Ticket #339 (closed defect: wontfix)

Opened 3 years ago

Last modified 2 years ago

CQL Error in 'Browse assets'

Reported by: anonymous Owned by: robert
Priority: minor Milestone: Community Related Issues
Component: REST Version: 2.2.0
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours:

Description

Shortly after installing the 2.2.0 release trying to go to the "Browse assets" page keeps loading. The Log entries show:
Unexpected end of string (Exception thrown on line 615, in /var/www/mm.labs.oneshoe.nl/sites/all/modules/mediamosa/cql/mediamosa_cql.class.inc)
Partial backtrace:

#0 /var/www/mediamosa/sites/all/modules/mediamosa/cql/mediamosa_cql.class.inc(128): mediamosa_cql->mediamosa_cql_next_part('sortBy title/as...', 22, Object(mediamosa_cql_part_group))... notice 08/16/2010 - 18:47

Change History

Changed 3 years ago by robert

  • owner set to robert
  • status set to assigned

Hi, thanks for your report. The backtrace you provided is not complete, I really would like to see the complete trace dump from the log, specially #1 line that should tell me the CQL you are trying to run.

I can reproduce your problem by entering '(' in the CQL box. But then the error is normal behavior; CQL is telling you, that you made a mistake in your CQL.

Unexpected end of string (Exception thrown on line 615, in /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/cql/mediamosa_cql.class.inc)
Partial backtrace:

#0 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/cql/mediamosa_cql.class.inc(128): mediamosa_cql->mediamosa_cql_next_part('( sortBy title/...', 24, Object(mediamosa_cql_part_group))
#1 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/cql/mediamosa_cql.class.inc(186): mediamosa_cql->mediamosa_cql_parse('( sortBy title/...', Array)
#2 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/cql/mediamosa_cql_context.class.inc(75): mediamosa_cql->mediamosa_cql_verify('( sortBy title/...')
#3 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/core/cql/mediamosa_core_cql.inc(153): mediamosa_cql_context->mediamosa_cql_verify('( sortBy title/...')
#4 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/modules/asset/mediamosa_asset.rest.inc(431): mediamosa_core_cql::verify_asset('( sortBy title/...', Array, '')
#5 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/rest/mediamosa_rest_call.inc(266): mediamosa_rest_call_asset_search->validate_rest_args(Array)
#6 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/rest/mediamosa_rest.inc(314): mediamosa_rest_call->process_call()
#7 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/response/mediamosa_response_connector.inc(142): mediamosa_rest->process_call(Array)
#8 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/response/mediamosa_response_connector.inc(61): mediamosa_response_connector->do_restcall('asset', 'GET', Array)
#9 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/response/mediamosa_response_connector.inc(77): mediamosa_response_connector::static_do_restcall('asset', 'GET', Array)
#10 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_asset.inc(363): mediamosa_response_connector::static_do_restcall_drupal('asset', 'GET', Array)
#11 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_asset.inc(258): _mediamosa_browse_asset_execute()
#12 [internal function]: mediamosa_browse_asset_list_form(Array, Array)
#13 /home/rblanker/sambamnt/www/mediamosa/2.x/includes/form.inc(688): call_user_func_array('mediamosa_brows...', Array)
#14 /home/rblanker/sambamnt/www/mediamosa/2.x/includes/form.inc(308): drupal_retrieve_form('mediamosa_brows...', Array)
#15 /home/rblanker/sambamnt/www/mediamosa/2.x/includes/form.inc(181): drupal_build_form('mediamosa_brows...', Array)
#16 /home/rblanker/sambamnt/www/mediamosa/2.x/sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_asset.inc(45): drupal_get_form('mediamosa_brows...')
#17 [internal function]: _mediamosa_browse_asset_page('list')
#18 /home/rblanker/sambamnt/www/mediamosa/2.x/includes/menu.inc(476): call_user_func_array('_mediamosa_brow...', Array)
#19 /home/rblanker/sambamnt/www/mediamosa/2.x/index.php(22): menu_execute_active_handler()
#20 {main}

What I can not reproduce is that your page keep loading. Seems like Ajax is being triggered? Does this error flood your log or is it one entry? (this will tell me if Ajax hangs).

However, there where some problems on the search page I did fix (like reset button and entering an empty CQL string), these will committed to the website during the coming night.

Changed 3 years ago by robert

  • status changed from assigned to closed
  • resolution set to wontfix

No response for a while on this ticket, no word on other ppl on problems with search. Did a lot of fixes on last release (2.2). Closing it for now.

Changed 2 years ago by Frans

  • milestone changed from MediaMosa X.X to Community Related Issues
Note: See TracTickets for help on using tickets.