After disabling/re-enabling PM/VBO the "Issue #" column is filled with "N/A"
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Edit_view_patches_896292.png | 46.32 KB | jleinenbach |
After disabling/re-enabling PM/VBO the "Issue #" column is filled with "N/A"
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Edit_view_patches_896292.png | 46.32 KB | jleinenbach |
Comments
Comment #1
jleinenbach commentedsame here
Comment #2
aidanlis commentedI don't know how this can happen ... the data is only meant to be deleted on hook_uninstall. If anyone has any ideas, please let me know.
Comment #3
jleinenbach commentedI don't think that these entries are deleted as the issue numbers even don't appear if you add new patches.
Comment #4
aidanlis commentedHrmmm ... can you edit the view and see if there's anything obviously wrong?
Comment #5
jleinenbach commentedNothing obvious to me.
Content: Drupal.org links to:
/en/admin/build/views/nojs/config-item/patches/default/field/field_drupal_issue_value
Comment #6
aidanlis commentedCan you edit that field and resave it?
Comment #7
jleinenbach commentedIf I open the patch node, I can see and edit that value.
After I resaved it, it is still visible there, but the list shows me "N/A".
Comment #8
jleinenbach commentedOops, sorry. Deleted. Although this appeared with a patch manager edit, this appears to be a boost module problem.
Comment #9
jleinenbach commentedThe "Issue link" format produces no output:
/admin/build/views/edit/patches -> Fields
If I change the Field "Content: Drupal.org" from "Issue link" to "Default", the lists shows the Issue numbers at least in plain text.
Workaround:
Do what I described above, but additionally, activate "Rewrite the output of this field" and enter:
<a href="http://drupal.org/node/[field_drupal_issue_value]">[field_drupal_issue_value]</a>This will work with issue numbers, but not for comments (if you use the 123456-12 format).
Is it perhaps a bug of the
function theme_patch_manager_formatter_issuelink($element)?Additional Views module bug found:
If you deactivate the "Rewrite the output of this field" checkbox, but keep the rewrite string from above, then it's still active! o_O
Perhaps everything is a bug of the views module? I'm using v6.x-3.0-alpha3.
EDIT: Link correction.
Comment #10
jleinenbach commentedHmm,
I don't really know what I am doing, but if I edit the patch_manager.module file from this:
function theme_patch_manager_formatter_issuelink($element) {$nid = $value = $element['#node']->node_data_field_drupal_issue_field_drupal_issue_value;to this:
function theme_patch_manager_formatter_issuelink($element) {$nid = $value = $element['#node']->node_data_field_module_field_drupal_issue_value;Then the links appear.
Comment #11
aidanlis commentedThis should be fixed now.