I updated to the latest dev to avoid all matrix content being deleted on preview. its fine now but if i preview a node, matrix field wont display in the preview.
I updated to the latest dev to avoid all matrix content being deleted on preview. its fine now but if i preview a node, matrix field wont display in the preview.
Comments
Comment #1
ChaosD commentedi just noticed that if i save the node, the matrix field gets displayed 3 times on nodeview.
-changed title-
Comment #2
epersonae2 commentedI'm having the same problem, plus if I try to include the matrix field in a view using the Fields row style, the matrix field doesn't appear.
Comment #3
aaron1234nz commentedI've seen this behavior before. How many CCK fields do you have on your node? Is it just Matrix or do you have others too? I think this is related to the way in which the formatter is called from CCK.
Comment #4
ChaosD commentedi used matix in combination with the link field...nothing else. the problem disappeared after i deleted any matrixfield releated files and reinstalled the module.
Comment #5
epersonae2 commentedMine has a matrix field and a date field.
Comment #6
scott859 commentedI am having this issue as well. I have used a number of matrix fields (4 separate fields) together in one content type (profile) and the first matrix field displays 3x while the other 3 fields are displaying properly (just one time).
Comment #7
epersonae2 commentedarez, did you just delete the module and reinstall, or actually delete the content type and content as well?
Comment #8
ChaosD commentedi completely rebuilt the content type, too - sorry forgot to mention that
Comment #9
scott859 commentedGreetings,
As indicated in my earlier post (#6 above), I was having the same issue. I went into the matrix field that was repeating 3x (it was supposed to show only once) and just re-saved it without making any changes and that solved the issue somehow.
Also, I noticed that when I initially went to edit the content type after logging in, I received 3 errors. The content type is "Profile", here are the errors:
Content Type > Profile > Manage Fields
* warning: Invalid argument supplied for foreach() in .../sites/all/modules/matrix/matrix.module on line 882.
* warning: array_unshift() [function.array-unshift]: The first argument should be an array in .../sites/all/modules/matrix/matrix.module on line 885.
* warning: implode() [function.implode]: Invalid arguments passed in .../sites/all/modules/matrix/matrix.module on line 886.
After viewing these errors I then returned to the Profile page. Then I went back to Content Type > Profile > Manage Fields - and the error no longer showed.
So, all is good at this point, hopefully this lends some insight into isolating the issue(s) that may be causing this.
Comment #10
aaron1234nz commentedThis seems like one of those hard-to-solve problems because it is not very repeatable. I have fixed the bug in relation to the matrix not show up in a view (comment #2).
Comment #11
epersonae2 commented6.2.x-dex does seem to fix the view/matrix problem for me, although it does come with its own tiny bug. #488736: errot at the time of installing this module
Comment #12
aaron1234nz commentedas per the observation in #11, I'll take this as fixed.