date-7.x-2.x-dev
calendar-7.x-2.x-dev
http://drupal.org/node/755312 done
Changing the standard language breaks Calender-View argument.
See attachment.
| Comment | File | Size | Author |
|---|---|---|---|
| #34 | data_views_fields.zip | 1.77 KB | eglobal |
| #30 | date_views_fields.inc_.zip | 2.4 KB | andreas.klein |
| #21 | date-1094408-21.patch | 602 bytes | boobaa |
| #19 | Working_Workaround.png | 24.71 KB | gerhardbaumeister |
| #17 | views-7.x-3.0-alpha1.de_.po | 144.71 KB | syntax-2 |
Comments
Comment #1
gerhardbaumeister commentedand here the different SQL-Statements with the missing where-clause.
See attachment
and the php-error-message:
Notice: Undefined index: field_data_field_termin.field_termin_value_value in date_views_argument_handler->admin_summary() (Zeile 110 von /var/www/html/drupal/sites/all/modules/date/date_views/includes/date_views_argument_handler.inc).
Comment #2
gerhardbaumeister commentedDid an update today, but the same behavior.
ctools 7.x-1.x-dev 2011-Mar-17
views 7.x-3.x-dev 2011-Mar-18
date 7.x-2.x-dev 2011-Mar-14
calendar 7.x-2.x-dev 2011-Mar-14
see attachment.
Comment #3
Anticosti commentedSame issue/setup here
Subscribing...
Comment #4
gerhardbaumeister commentedCalendar for english sites only?
Update
ctools 7.x-1.x-dev 2011-Mar-19
views 7.x-3.x-dev 2011-Mar-20
date 7.x-2.x-dev 2011-Mar-20
calendar 7.x-2.x-dev 2011-Mar-14
does not work on localized sites.
See attachement.
Comment #5
Webgrafic commentedSame problem with:
ctools 7.x-1.x-dev 2011-Mar-19
views 7.x-3.x-dev 2011-Mar-21
date 7.x-2.x-dev 2011-Mar-21
calendar 7.x-2.x-dev 2011-Mar-21
Comment #6
gerhardbaumeister commentedUpdate
Same problem with:
ctools 7.x-1.x-dev 2011-Mar-19
views 7.x-3.x-dev 2011-Mar-22
date 7.x-2.x-dev 2011-Mar-21
calendar 7.x-2.x-dev 2011-Mar-21
Comment #7
Tahiera commentedctools 7.x-1.0-alpha3
views 7.x-3.x-alpha1
date 7.x-2.0-alpha1
calendar 7.x-2.x-dev
I enabled the core Locale module but did not configure it at all.
I did not enable Content translation.
Suddenly, no events showed up in my calendar in any view.
My date field is called field_date. In Views, when I went to add it under arguments, it had two tickboxes for fields instead of one:
Fields: field_date (field_date) - value
Fields: field_date (field_date) - value2
I tried adding a new date field, but again it appeared twice.
I disabled the Locale module.
Now my calendar events appear in Month view only,
And underneath the eventname it says 'field_date' instead of displaying a date.
Edit: I just noticed that all the dates on the calendar were also moved back one day. It may be a Date issue.
Comment #8
gerhardbaumeister commentedIn the meantime i think, we adress the wrong module.
That might be a issue of views or date or locale. But i´m new to Drupal and not able to understand or debug php.
So i don´t know where to post this issue. I don´t want to crosspost.
It would be nice, if the maintainer gives us a hint, where to post this issue to get the propper attention.
I appreciate the work of the maintainers and i would like to support and test as much as i can. But without any request for more info, all i can do so far, is to update the modules daily and check the issue. But I´m on pins and needles, because i can´t go into production with my site as long as this issue exist.
The latest views module has no impact.
The same bahavior with:
ctools 7.x-1.x-dev 2011-Mar-19
views 7.x-3.x-dev 2011-Mar-23
date 7.x-2.x-dev 2011-Mar-21
calendar 7.x-2.x-dev 2011-Mar-21
Hope an expert can adress the right module.
Comment #9
syntax-2 commentedLook at this: http://drupal.org/node/1101186
It's very similar problem...
Comment #10
clauded commentedsubscribing
Comment #11
gerhardbaumeister commentedDid a little research to related issues.
Hope this helps to localize the Problem.
http://drupal.org/node/1102664
Related to Date
issue with multi-language, switching the Language to German
http://drupal.org/node/1091128
Related to Calendar
closed(duplicate) to this thread
http://drupal.org/node/1091022
Related to Calendar
seems to be a duplicate to this thread
http://drupal.org/node/1103564
Related to Views
Talks about CCK Data field, don´t know if this match to this tread
http://drupal.org/node/1090196
Related to Calendar
KarenS set the category to support request but Problem with site language still exist
http://drupal.org/node/1101896
Related to Calendar
no options FOR a date argument
http://drupal.org/node/1033464
Related to Calendar
datetime field is not showing up under the "Date Fields" check boxes
http://drupal.org/node/1011624
Related to Date
Automatically closed -- issue fixed for 2 weeks with no activity
But not solved
http://drupal.org/node/1102258
Related to Date
KarenS set this to fixed, but did´nt respond to the language issue
Comment #12
gerhardbaumeister commentedAnd here another Groundhog Day:
Updated to:
ENTITY 7.x-1.0-beta8 2011-Mar-21
CTOOLS 7.x-1.x-dev 2011-Mar-24
VIEWS 7.x-3.x-dev 2011-Mar-24
DATE 7.x-2.x-dev 2011-Mar-23
CALENDAR 7.x-2.x-dev 2011-Mar-24
with no result
Comment #13
clauded commentedI think we have more than one problem here and probably more than one module is affected :
1-when using a different language from english, we can't select date fields in views contextual filter's
2-displaying a calender view that's working fine in english in another language will display errors like :
Also note that when switching languages, only events created for that language will be displayed (I guess that's normal behavior).
Comment #14
gerhardbaumeister commented@clauded
"Also note that when switching languages, only events created for that language will be displayed (I guess that's normal behavior)."
That´s why i posted http://drupal.org/node/1103982.
If this would be a normal behavior, what about multi-language sites? The events will be grouped by languages?
I would be glad to solve the first issue:
"1-when using a different language from english, we can't select date fields in views contextual filter's"
Comment #15
syntax-2 commentedI've solved this problem with reloading language translation file for Views module with small modification #1103564: No CCK date fields in Contextual filters after local translation is installed
Comment #16
gerhardbaumeister commented@syntax
Thanks for your suggestion.
I hope there is another way than the localized name to identify Date-fields for building the Form .
But I will give it a chance. Can you please give me the exact path of your po-file? It seems i have no translation file for the views module installed.
And can you give me a similar screenshot like mine in #12 - about the contextual Filter, one in english and one in polish?
Is there another one who had sucess with @syntax´s hack?
Tried to get into debugging with drupal for firebug - but wasted hours. Can´t manage this yet. Seems to be a long way to be able to understand what happens.
Comment #17
syntax-2 commented@gerhardbaumeister
My screenshots was exactly like yours. I have two date values (generated by Date Tools with Callendar)
Fields: Date (field_date) - value
Fields: Date (field_date) - value2
I prepared German *.po file for you, try it first ;-) My, Polish, is attached too.
Don't forget check option: Strings in the uploaded file replace existing ones, new ones are added. The plural format is updated.
It works: http://hdrsoft.pl/calendar-date :-)
Comment #18
clauded commented@gerhardbaumeister
If you have a multi-language site, you will have have to create one event for each language. So if your site is in english and german, you will create two events at the same date/time but in different language (this make sense if you want to display events in different language otherwise how do you translate this?). On the other hand, maybe an option in the calendar or the view module to ignore language would help...
Comment #19
gerhardbaumeister commented@syntax
unbelievable - your workaround works :-)
That should be a very valuable hint for the maintainer to fix the problem.
Thank you very much for your support.
The main question still remains:
Why depends the List of possible fields with the type node(date) in the Form contextual filters on the translation (respectively no translation) of the msgid "Fields" in Drupal localized sites?
Comment #20
gerhardbaumeister commented@clauded
i think that´s offtopic in this thread.
Let´s got to http://drupal.org/node/1103982 for the multilanguage dates.
Comment #21
boobaaAttached patch solves this issue at the roots: date_views.module is the one responsible for this nasty bug.
Comment #22
clauded commentedAwsome! Patch #21 solves everything for me. Thanks!
Comment #23
boobaaWhoops, looks like I've forgotten to submit it to the _proper_ queue.
Comment #24
arlinsandbulte commentedMakes sense to me.
Fixed: http://drupalcode.org/project/date.git/commit/37d8b38
Comment #26
andrenoronha commentedI'm kinda confused.
I dont know what happened to the calendar view, but everytime i try to edit it I get a white page with error messages like:
Notice: Undefined property: date_views_argument_handler::$granularity in calendar_plugin_style->query()
and i cant edit the view.
I have desactivated and uninstalled the calendar and date views modules and still get these errors.
My modules versions:
Calendar: 7.x-2.0-alpha1
Date: 7.x-2.x-dev 2011-Apr-30
Views: 7.x-3.0-beta3
CTools: 7.x-1.0-alpha4
what am I missing here?
thanks
Comment #27
arlinsandbulte commented@a.luiz.n
Use the latest -dev versions. Some of those alphas and betas are more than a month old, and there have been lots of changes since then.
Comment #28
andrenoronha commentedI'm using now the latest dev version of the 4 of them.
And when I try to edit the calendar view I get a white page. When I press the back button I got error messages like:
Notice: Undefined property: date_views_argument_handler::$granularity in calendar_plugin_style->query()
I have also unstalled views...
I dont know what's wrong.
At my local site it's working...
I dont know what's the difference... php version? database?
Comment #29
andrenoronha commentedHey, nevermind.
I exported the good views from my local site and imported in my production one.
Thanks =]
Comment #30
andreas.klein commentedWorks for me with modules versions:
Calendar: 7.x-1.0-alpha3
Date: 7.x-2.0-alpha1
Views: 7.x-3.0-alpha1
CTools: 7.x-1.0-alpha2
i attache the date_views/includes/date_views_fields.inc file. Just replace..
For good practice visit this tutorial:
http://www.drupaltherapy.com/date_d7
regards from germany..
Comment #31
alienzed commentedI just want to confirm that in all the latest dev versions, this is still broken. I'd be happy to provide debug info, but I'm assuming it's a known issue given the attention it's being given...
Comment #32
andreas.klein commentedsubscribe
Comment #33
frist commentedsubscribing
Comment #34
eglobal commentedHere is another version of data_views_field.inc file that worked for me. Almost the same as posted in 5/10. might be the upgrade?
Comment #35
fuse commentedLatest dev version of Date module still gives problems with "locale".
No custom CCK date fields show up in the views contextual filter Date fields(s).
The following line of code is the cause:
If I check the value for $handler->definition['group'] is says 'Inhoud' (dutch translation for "Content") but although de "Content" string is translated a var_dump() of t('Content') still gives 'Content' as its translation.
I am not sure how to slove this issue.
Comment #36
fuse commentedI found out that "administration language" module is causing the problem. When selecting "Administration pages (admin) " as option, the date view breaks.
Not sure if this is a "date" or "adaministration language" issue.
Comment #37
karens commentedI tried changing the method of identifying Field module fields in the field list to eliminate the dependency on the group name. In addition to problems with translations it might miss other field values that use different group names.