Closed (outdated)
Project:
SPARQL Views
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2012 at 20:45 UTC
Updated:
17 Oct 2019 at 17:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stuartraetaylor commentedI had a fix for this one but forgot to make a patch out of it at the time. I think this was the code for it, but I'd be grateful if you could try it out and let me know it solves your problem. If it does then I can extract the patch from my local testing branch.
In
handlers/sparql_views_handler_field.inc-function render_field_formatterI have changed the line:to:
Cheers,
Stuart.
Comment #2
ebremer commentedIt got worse, numerous:
"Notice: Undefined index: default_formatter in sparql_views_handler_field->render_field_formatter() (line 244 of /mysite/sites/all/modules/sparql_views/handlers/sparql_views_handler_field.inc)." errors
- E
Comment #3
ebremer commentedI was looking through the values of $field['settings'] and $field['settings']['default_formatter'] is never set. The only thing ever set is max_length.
Comment #4
stuartraetaylor commentedThis patch should fix the errors above.
Comment #5
ebremer commentedI was away from this for a bit. Just tested the new patch, still getting a "Notice: Undefined index: format in _text_sanitize() (line 319 of /mnt/exodus/disk1/www/ebremer/modules/field/modules/text/text.module)." error.
Comment #6
ebremer commented