Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2012 at 09:53 UTC
Updated:
5 Apr 2012 at 22:45 UTC
Scenario:
* a view (for example "see first attached image) defined in .views_default.inc
* is modified by visiting /admin/structure/views/view//edit
* and name, path, title are changed (look at values on second image)
* the changed view is saved
Then the saved view is exported and
* the values for view->name
* and "translatables"
are still the old ones (compare third image).
| Comment | File | Size | Author |
|---|---|---|---|
| views-2.png | 19.39 KB | schildi | |
| views-1.png | 24.42 KB | schildi | |
| views-0.png | 8.96 KB | schildi |
Comments
Comment #1
dawehnerWell the tree screenshots you showed actually shows that it's working
You renamed the human name of a view from bgv_biblio_jahr_band_seite to bgv_biblio_jahr_nr_seite and tada you have the second one in the export. You seem want to be able to rename the machine name of a view right?
Comment #2
dawehnerUpdate status
Comment #4
schildi commentedI am not sure to understand your argument.
- an existing and working view is duplicated in the UI
- then the new view is changed (UI, temporary version) to fit the new needs (name, description, path etc)
- the new view is saved
- and exported
In the export
- the "human readable name" is changed as expected
- view->name still contains the old unchanged value - what is a bug in my eyes
- and the array "translatables" is indexed by the old unmodified string
When you look at the images
- image 1: you see the new values for title and path as "..._nr_seite"
- image 2: in the export you see "view->name" still holding the unmodified value "..._jahr_nr"
Comment #5
dawehnerBelieve it or not, but images are so much harder to parse.then just simple text exports.
I can just guess but maybe adding human_name and description to the view class explicit might fix the problem.
Comment #6
schildi commentedOK, that sounds like you are not interested in this error report.
Then please close this issue.
Regards
Comment #7
dawehnerYou know it's quite hard to figure out what people did and what they expected etc. If i had said something disrespectful, please forgive me, i just want to get the most out of my freetime.
Just make your and the maintainers life easier by reporting useful stuff.
The first image shows the "human readable name" of the view. If you look at the image2 you will see that this value was changed there as well. $view->name is the machine readable name of the view, maybe you mix something up here.
Comment #8
esmerel commented