Hello.
After installing the mentioned version of the module, I've got a trouble vith the views on my website (core 7.43)
I've several views, some like the simple default tracker, others involving data on leaflet maps.
After enabling the module, the views don't show any data. The tracker view, as well as others just shows a php message with memory used, execution time etc. Those with maps instead, sometimes show the same error, other times warn me that there's no data to display. Infact not only is the map empty, but the map itself isn't shown anymore.
Disabling the module brings thinks back to normal
Fields selected for the views include, among the others, "(author) User: Name (Author)" or "(author) User: Name (User)".
I've never encrypted the username, only the email (btw in the config I can't unflag encrypt email field even after decrypting it, becasue a msg said it is required; but in the db it isn't encrypted anymore.... mah)
I suspect somehow the display of an encrypted field data of users interferes with views module.
Thank you
Kinmen
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | fix_replase_user_name_views-2798749-11.patch | 718 bytes | alex_optim |
Comments
Comment #2
pifagorI will try to fix it as quickly as possible
Comment #3
kinmen commentedThank you very much
Comment #4
pifagorGood day. You can get more information? Screenshots problems?
Comment #5
pifagorComment #6
kinmen commentedHello. Do you want a screenshot? Of a view?
The views show errors like this:
Warning: Invalid argument supplied for foreach() in views_handler_field->advanced_render() (line 1053 of .../sites/all/modules/views/handlers/views_handler_field.inc).
The query for tracker view is:
With enabled module and a logged user, the views are EMPTY, html shows only basic tags like head and body.
If user isn't logged, some views, like tracker, are shown BUT they are messed up! For example the Title field shows instead the Author, which is anyway displayed in the Author Field...
In other views instead, without logged user, only an empty container is displayed and sometimes there's a warning about nothing to show because the fields selected as a filter in the view (in my case: must be not empty) are empty; but they aren't! If I disable the module and the role for the user, everything goes back as normal
Something weird which I don't understand and could maybe give you a clue, is that when no user has encrypt field role assigned, and I unflag Mail (the only I use) under User fields, I always get an error "User fields field is required." which I don't understand.
My impression is like somehow fileds in the nodes have been shifted...
Thank you
Comment #7
kinmen commentedHello, any progress with the issue?
Comment #8
kinmen commentedI'm still investigating. I've applied a patch (#15) to core (https://www.drupal.org/node/1874768) to avoid a warning about DATE which I was getting. I've found something in the tracker view which simply displays in a table the last nodes of type Article (for example):
If your module is disabled, the view is correctly displayed.
If it is enabled, the time of all the posts (articles) is set to "Thu, 01/01/1970 - 01:00", and the type of the node is shown only for the first raw. Moreover, except in the first raw, the field "title" has been filled up with the "Author" field, and therefore the links don't work anymore because they point to not existing nodes.
The same data (more or less) displayed on a map works if module is disabled, but with enabled module I just get a blank page with: "Page execution time was 2366.31 ms. Memory used at: devel_boot()=2.98 MB, devel_shutdown()=77.98 MB, PHP peak=120 MB."
Is it possible that your module somehow modifies / encrypts any Date data of the user, so that I get that messed up views?
Comment #9
pifagorSorry, but I have not been able to reach a solution. Once have time, I fix my problem.
Comment #10
pifagorComment #11
alex_optimFixed problem with relapse author name in views.
Create patch.
Comment #13
pifagorComment #14
pifagorComment #15
pifagor