Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding new event #1

Open
filhocf opened this issue Mar 29, 2016 · 1 comment
Open

Error adding new event #1

filhocf opened this issue Mar 29, 2016 · 1 comment

Comments

@filhocf
Copy link

filhocf commented Mar 29, 2016

Hi

I'm using (or trying) your adaptor in a Sabredav (inside a tine 2.0 app), and received a mail with an invitation inside, and RC got correctly the option to import this invitation, but when i try, clicking in the "accept" button (Aceitar in portuguese), return a error in the log file:

[29-Mar-2016 09:04:35 -0300]: <v73rc932> DAV Error: Forbidden in /var/www/webmail/plugins/calendar/lib/SabreDAV/lib/OldSabre/DAV/Client.
php on line 429 (POST /webmail/?_task=calendar&_framed=1&_action=mailimportitip?_task=&_action=)

And this is some screenshots:

image

image

Here say (at final): Fail to import this event.

Any suggestion or tip, i thanks in advanced.

Best regards,
Claudio Ferreira

@filhocf
Copy link
Author

filhocf commented Jun 3, 2016

Hi

I found the source of problem. I returned to commit 29c9, that haven't problem, and got the difference between this commit and HEAD. Disregard all skin/classic/*, I found this:

diff --git a/calendar/skins/larry/templates/calendar.html b/calendar/skins/larry/templates/calendar.html
index e659ecc..8dc779d 100644
--- a/calendar/skins/larry/templates/calendar.html
+++ b/calendar/skins/larry/templates/calendar.html
@@ -42,7 +42,7 @@
                <roundcube:object name="plugin.calendar_list" id="calendarslist" class="treelist listing" />
            </div>
            <div class="boxfooter">
-               <roundcube:button name="calendarcreatelink" id="calendarcreatemenulink" type="link" title="create" class="listbutton add" onclick="UI.show_popup('calendarcreatemenu', undefined, { above:true });return false" innerClass="inner" content="&#9881;" /><roundcube:button name="calendaroptionslink" id="calendaroptionsmenulink" type="link" title="moreactions" class="listbutton groupactions" onclick="UI.show_popup('calendaroptionsmenu', undefined, { above:true });return false" innerClass="inner" content="&#9881;" />             
+               <roundcube:button command="calendar-create" type="link" title="calendar.createcalendar" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" /><roundcube:button name="calendaroptionslink" id="calendaroptionsmenulink" type="link" title="moreactions" class="listbutton groupactions" onclick="return UI.toggle_popup('calendaroptionsmenu', event, { above:true })" innerClass="inner" label="calendar.calendaractions" aria-haspopup="true" aria-expanded="false" aria-owns="calendaroptionsmenu-menu" />
            </div>
        </div>
    </div>
@@ -61,11 +61,6 @@
    </div>
 </div>

-<div id="calendarcreatemenu" class="popupmenu">
-   <ul class="toolbarmenu">
-       <roundcube:object name="plugin.calendar_create_menu" />
-   </ul>
-</div>
 <div id="timezonedisplay"><roundcube:var name="env:timezone" /></div>

 <roundcube:object name="message" id="messagestack" />

Can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@filhocf and others