https://bugzilla.wikimedia.org/show_bug.cgi?id=35318

--- Comment #2 from Thorsten Nickel <[email protected]> 2012-03-20 
07:54:04 UTC ---
Hi Jeroen,

I did look through the PHP code myself (I know my way around a bit through
code) and I did some test runs myself. I have to admit that at some point, with
all the inherited objects, I had to pass out.

Also, I was wrong in saying that I get the errors on #ask, they are on
#compound_query. Sorry about that.

Regarding your comment with the results not all being of type date. I did
another testpage and it seems I'm getting a bit closer to what is happening.
This page contains just two queries:

{{#ask:
  [[Category:dates]]
  [[done_by::>{{#calendarstartdate:}}]]
  [[done_by::<{{#calendarenddate:}}]]
  |? done_by
  |sort=done_by
  |format=calendar
}}


{{#compound_query:
[[Category:dates]][[Has State::done]];? done_by;color=#dd0000;
|[[Category:dates]][[Has State::open]];? done_by;color=#00dd00;
|[[Category:dates]];? done_by;color=#0000dd;
| format=calendar
| limit=999
}}

The first query seems to work for me now, as it displays the articles with the
entered date (confirmed with counting articles using format=table).

Comparing this with the compound_query one, I only get parts of the #ask
results. In numbers, I have 22 results for #ask, but only 7 for
#compound_query.
This said, all the articles get created using an included form, to make sure
only allowed values are entered. This way I try to exclude formatting errors.

Additional information, 'Attribute:Has state' article contains:
--------
Type [[Datatype::String]].


* [[Allows value::open]]
* [[Allows value::done]]
* [[Allows value::in progress]]

--------

Plus the color-attribute is not being set, but this may not be directly
involved with this error.

Is there anything else i can test or supply to get this one nailed down ?

Thanks in advance.
Thorsten Nickel

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to