You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried deleting a few test events which is not possible. When clicking the "delete" button on "Delete event" page, I get redirected to the same page with asking again for pressing delete.
Using browser back I end up on the page before which is monthly overview. The event is still there. When hitting F5 for refresh I receive the following error message:
Expected value of type "Zikula\CategoriesModule\Entity\CategoryEntity" for association field "Zikula\CategoriesModule\Entity\CategoryAttributeEntity#$category", got "DoctrineProxy\__CG__\Zikula_Doctrine2_Entity_Category" instead.
Also deliting events from admin area does not work as the page to delete events is the same.
The problem is that Zikula_Doctrine2_Entity_Category is deprecated. Hence Zikula\CategoriesModule\Entity\CategoryAttributeEntity does now use Zikula\CategoriesModule\Entity\CategoryEntity instead. I don't know if this can be solved centrally. The easy fix is changing the super class of PostCalendar_Entity_EventCategory.
Ping. Any idea how to tackle this?
Right now I have to ask my cal editors to move all events that should be removed to a certain date. Then I have to remove is via MySQL command.
Thanks for your help.
Spits error 500 with following error message: An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3 FROM Zikula_Doctrine2_Entity_EntityAttribute t0': SQLSTATE[42S02]: Base table or view not found: 1146 Table '27915m16910_4.Zikula_Doctrine2_Entity_EntityAttribute' doesn't exist
Ping. My users are asking why they cant delete events. Moving them to a backdated time is not too good workaround to user acceptance is decreasing.
Anything I can help with?
Activity
craigh commentedon Oct 3, 2016
That is a Core issue I think. ping @Guite
Guite commentedon Oct 3, 2016
The problem is that
Zikula_Doctrine2_Entity_Categoryis deprecated. HenceZikula\CategoriesModule\Entity\CategoryAttributeEntitydoes now useZikula\CategoriesModule\Entity\CategoryEntityinstead. I don't know if this can be solved centrally. The easy fix is changing the super class ofPostCalendar_Entity_EventCategory.But:
https://github.com/zikula/core/blob/1.4/src/lib/legacy/Zikula/Doctrine2/Entity/Category.php#L108 points to
Zikula\CategoriesModule\Entity\CategoryAttributeEntityinstead ofZikula_Doctrine2_Entity_EntityAttribute. Maybe this is the cause of the problem.MrMontesa commentedon Oct 10, 2016
Ping. Any idea how to tackle this?
Right now I have to ask my cal editors to move all events that should be removed to a certain date. Then I have to remove is via MySQL command.
Thanks for your help.
Guite commentedon Oct 10, 2016
Try changing https://github.com/zikula/core/blob/1.4/src/lib/legacy/Zikula/Doctrine2/Entity/Category.php#L108 from
Zikula\CategoriesModule\Entity\CategoryAttributeEntitytoZikula_Doctrine2_Entity_EntityAttribute. Afterwards clear/app/cache/.MrMontesa commentedon Oct 10, 2016
Spits error 500 with following error message:
An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3 FROM Zikula_Doctrine2_Entity_EntityAttribute t0': SQLSTATE[42S02]: Base table or view not found: 1146 Table '27915m16910_4.Zikula_Doctrine2_Entity_EntityAttribute' doesn't existGuite commentedon Oct 11, 2016
I see.
Zikula_Doctrine2_Entity_EntityAttributeis abstract (mapped superclass), so no table exists for it.Guite commentedon Oct 11, 2016
Probably the module must be changed then.
MrMontesa commentedon Nov 18, 2016
Ping. My users are asking why they cant delete events. Moving them to a backdated time is not too good workaround to user acceptance is decreasing.
Anything I can help with?