I have discussed this with on IRC
Panels2 to 3 upgrade path converted nodeoverwrite to a few task handlers. if the node-overwrite in Panels2 is content-type based, it is converted to several task handlers and one extra called default, which overwrites all other nodes. The default is the last one on the list, and only get selected if none of the others did. However, the original panels2 only select a few content types, the default handler in panels 3 overwrites all other nodes which were not selected by the original panels2.
For example panels2 overwrites A,B,C, but not D,E,F. then it is converted to panels3, suddenly D,E,F are overwritten.
Another note: I thought this problem could be solved if I deleted the default handler after the conversion. However, if I delete it, then none of the nodes are overwritten any more.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | panels.sql_.gz | 31.59 KB | skyredwang |
Comments
Comment #1
merlinofchaos commentedCan you please try this in beta4? I think I fixed it when I retooled the update but I can't be completely sure.
Comment #2
skyredwangI did a upgrade from Panels2 to Panels3-beta4 today,
here are the errors:
Comment #3
skyredwangafter the upgrade above, ran update.php. None of the nodeoverwrites in Panels 2 is converted to the ones for Panels 3
Comment #4
skyredwangHaving consult with merlinofchaos, I re-do the upgrade, by dropping all the tables.
here are the errors from update.php
However, with this complete wipeout, no panels 2 pages is converted to panels 3 pages
Comment #5
skyredwangI have attached my Panels2 tables
Comment #6
skyredwangAfter our discussion, I deteled ctools and panels folders, and reinstall them. Then there is no more errors in the upgrading process.
but, there are other problems:
1st problem, even if CTools module was unchecked (not installed), update.php runs without letting me know that CTools module is required. So, I checked/install CTools. Then update.php runs OK without any problem. I remember Beta2 has this dependency check for update.php, but it seems Beta4 doesn't check.
2nd problem, I went to /admin/build/pages/list to enable nodeoverwrite such as /node/%node or /user/%user, but after enabling them, clear cache, all those nodes and users page are same. nodeoverwrite fails.
Comment #7
merlinofchaos commentedChecked in a fix for the node_view override. Will require a fresh upgrade to test.
Comment #9
skyredwangI tested the upgrade again with Panels 3.2
Users overwrite works well, but converted Node overwrites don't work, but they work in Panels 3 Preview. No errors found.
Comment #10
skyredwangThis fixed the problem: I went into each node overwrite, deleted the selection rules, then added them back. then everything works!
Comment #11
merlinofchaos commented