Version 8.0 Findings / Adjustments

Permalink 1 user found helpful
Hello everybody.

Just starting a new threat to list all the findings of yet "unworky" things and their possible solutions in version 8.0 to make it working quickly. Please keep everything short and browsable to make it being found easily.

 
Cahueya replied on at Permalink Reply
Add-Ons that create dashboard single pages

I found that two custom add-ons I use showed up errors when installing them in version 8.

The origin of it is:

root/concrete/themes/dashboard/view.php line 7-15.
<?php if (isset($_bookmarked)) { ?>
        <a href="#" class="ccm-dashboard-page-header-bookmark" data-page-id="<?php echo $c->getCollectionID()?>" data-token="<?php echo $token->generate('access_bookmarks')?>" data-bookmark-action="<?php if ($_bookmarked) { ?>remove-favorite<?php } else { ?>add-favorite<?php } ?>">
            <?php if ($_bookmarked) { ?>
                <i class="fa fa-lg fa-bookmark"></i>
            <?php } else { ?>
                <i class="fa fa-lg fa-bookmark-o"></i>
            <?php } ?>
        </a>
    <?php } ?>


The code looks for "access_bookmarks" to generate a token.
This seems to be part of the dashboard improvements of v8.0 as mentioned in the blog post.

I have not yet found a solution as to where to define the bookmark. If you know, please reply to this post with the solution. I believe this will be necessary for every package that creates dashboard pages.
Cahueya replied on at Permalink Reply
Community Store Installation error

https://github.com/concrete5-community-store/community_store...

When installing Community Store, the systems throws the following error:

Dec 3, 2016, 10:37:44 PM",EMERGENCY,Exceptions,admin,"Exception Occurred: /Applications/MAMP/htdocs/c580/packages/community_store/src/Attribute/Key/StoreProductKey.php:132 Declaration of Concrete\Package\CommunityStore\Src\Attribute\Key\StoreProductKey::add($type, $args, $pkg = false) should be compatible with Concrete\Core\Attribute\Key\Key::add($handle, $type, $args, $pkg = false)


v8.0 and the Community Store do not agree on how to declare Attribute Keys.

No solution found yet. Please reply to this post when you know how.
mesuva replied on at Permalink Reply
mesuva
Attributes have been the main thing that has been tripping up Community Store on v8. Not that long ago all issues had been resolved, but this might have snuck in from the most recent updates before the final 8.0 release.

What I can't say is if this is community store or v8, but I'll try to have a look today.
mesuva replied on at Permalink Reply
mesuva
I've been able to resolve these issues via this PR:
https://github.com/concrete5-community-store/community_store/pull/15...

There are still some more issues though that may require updates to v8 itself, I've talked about them here:
https://github.com/concrete5-community-store/community_store/issues/...
Cahueya replied on at Permalink Reply
Ok, the fixes seem to work but now when processing a order, it stops between /checout and /submit.

The order shows up in order list, but the customer name/adress is not applied to the order. Seems just like an attribute problem. Nothing in the logs so far.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
My update from version 5.7.5.10 to version 8 failed with a Doctrine \ DBAL \ Exception \ NotNullConstraintViolationException. So I tried installing a new copy of 8, gets to the Installing... section and just sits there, no tables created. Version 4.0.6 of MAMP for OS X.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Apparently, Supermint3 crashes version 8. Got a clean version of 8 installed and then tried to install Supermint.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
And Vivid Store addon crashes version 8 and you cannot recover from it, same as Supermint3 theme.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
I am unable to install version 8 from scratch, I must do it as an upgrade from version 7.5.10. As mentioned earlier, using MAMP Pro 4.0.6 for OS X.
Cahueya replied on at Permalink Reply
I am using MAMP for OSX version 3.5.2 and it works just fine with it. Can you try this version?
pilipala replied on at Permalink Reply
pilipala
Tags block view.php has changed since 5.7

If you have a custom template for the Tags block that you created in 5.7, check the concrete5 Tags block view.php file and make the appropriate changes in your custom template.
pilipala replied on at Permalink Reply
pilipala