Closed (fixed)
Project:
CiviCRM Multiday Event
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Oct 2014 at 18:13 UTC
Updated:
4 Dec 2014 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
avguy commentedI'm having this issue as well using 7.x-1.0-rc2 in the latest version of the CM Starterkit Difficult.
Comment #2
stefanwray commentedSo what can we do about it?
My solution if I want to make a change to any content in a published class is to delete the class and start all over again.
This is sort of OK if no one has registered for the class yet.
But I've also had a couple of instances in which I wanted to change the content of a published class in which people had registered.
My work around there was to create a new class event and then move the people who had registered from the old class to the new one.
I don't know if this is an issue inherent to CiviCRM Multiday Event or to CiviCRM. I'm not sure that I noticed it much before October 21 when I first posted this problem.
What do you think @avguy?
Comment #3
stefanwray commentedTo clarify,
not only can I not unpublish, I also cannot edit or change content in a published class
Comment #4
synchlayer commentedWe're using version 7.x-1.0-rc1+8-dev and this doesn't seem to be an issue.
That maybe because I don't have the option to set Publishing settings on any Multi-day event nodes - they're just published by default - so the only way to remove an event is to delete it.
I can edit the nodes and the changes stick.
Comment #5
stefanwray commentedWe are using 7.x-1.0-rc1+7-dev
So I will update and see if the issue goes away
Comment #6
stefanwray commentedWe are using CiviCRM 4.5.2
Comment #7
synchlayer commented@stefanwray - you could - but I don’t think we’ve every had the publishing options enabled.
so that may not be the thing, even if it “fixes” things.
Comment #8
bagelche commentedI am using 7.x-1.0-rc2, CivCRM 4.4.7, and beta7 of the Moderate CM starter kit and am experiencing the same issue.
Is there any particular reason why this is a task and not a bug report?
Comment #9
bagelche commentedFurthering this, I also noticed that changes to the event title are not update, however I can update content in the body.
Comment #10
kreynen commentedI thought this may have been a regression, but it doesn't look like this ever worked as expected. Looking have at rc1, the initial save has the necessary logic...
http://cgit.drupalcode.org/civicrm_multiday_event/tree/civicrm_multiday_...
but the update hook doesn't...
http://cgit.drupalcode.org/civicrm_multiday_event/tree/civicrm_multiday_...
Comment #14
bagelche commentedThe latest patch has resolved my issues. I can unpublish and re-publish nodes for multiday events as well as modify the title field.
Comment #15
avguy commented@bagelche, so should we now set this to RTBC so that the maintainer knows to roll a new release? Is all the testing done at this point?
Comment #16
bagelche commentedI'm hesitant to switch it to RTBC because we seemed to experience the issue across different versions of the module, distribution, and CiviCRM. I'd feel more comfortable if we heard from someone with at least one different variable of those three than me. But, so far it's working for me and hasn't broken anything else, so if someone else gives it a review, I think we'd be cleared for takeoff.
Comment #17
kreynen commentedComment #18
avguy commentedI can confirm that this patch allows me to unpublish Workshop nodes and it sets the CiviEvent to Active: No and Public: No. When I republish the node the CiviEvent gets set to Public:Yes but Active is still No. This isn't a huge deal and it might be out of scope for what needs to happen here but could result in confusion if the user thinks that just republishing the node will be all that's needed to set the CiviEvent to Active again. I'm marking this RTBC as the stated issue has been resolved.
Comment #19
kreynen commentedThere 2 setting in admin/config/civicrm/civicrm-multiday-event related to publishing vs. unpublishing a node.
Both the CiviEvent's Public and Active state should be able to be modified or ignored based on these settings. Are you saying that you have the active setting checked, but it's not changing?
Comment #20
avguy commented@kreynen, both of those settings are checked and work when unpublishing a node but when I tried to republish the node only Public was changed back to yes. The other setting for Active remained No.
Comment #21
kreynen commented@avguy... thanks for clarifying. I've already opened #2378907: Make module more efficient by combining hook_presave and hook_field_attach_presave with some ideas about completely changing the way this works. Because the updates fixed the original issues (which has been a bug for > a year), I going to mark this as fixed.
Can you open a new issue about the Active/Not Active changes not working as expected and we can tackle that in the next update along with #2368933: Event Description not showing if we can reproduce that.