Skip to content

entity serialization #1

@pachay

Description

@pachay

Hi,

i get stuck at adding item to cart:

//Kitpages/ShopBundle/Model/Cart/Cart.php

$cartLine->setId($this->lineSequence); <-- setting "1"
$this->lineList[$this->lineSequence] = $cartLine; <-- returning Notice: Unknown: "id" returned as member variable from __sleep() but does not exist in Unknown line 0

In this case serialization is not working. What version of Symfony and Doctrine are you using?

Maybe this article helps http://danosipov.com/blog/?p=377 ?

Can you help me to get working version KitpagesShopBundle with Sf 2.0.11& Doctrine 2.1.6?

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions