Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: bugs

[Bricolage #120] Adding elements in story profile fails on first attempt, kills Save/Check In/Cancel buttons on second attempt

 

 

Bricolage bugs RSS feed   Index | Next | Previous | View Threaded


no-reply at lighthouseapp

Nov 20, 2009, 10:26 AM

Post #1 of 3 (669 views)
Permalink
[Bricolage #120] Adding elements in story profile fails on first attempt, kills Save/Check In/Cancel buttons on second attempt

// Add your reply above here
==================================================
Aaron Fuleki updated this ticket at November 20th, 2009 @ 06:26 PM

I just did a clean install of 1.11.2, logged in as admin, created a new story, added text to the deck field, saved, and previewed. The preview looked fine.

Next I tried to add a page element. Clicking Add Element -> Page the first time did nothing: no new element was created. I tried clicking "Save and Stay", but discovered all the bottom buttons were dead. I tried the "Add element" button again, and was able to add a page, and then a paragraph. However, the bottom buttons were still unresponsive. You get the pointer cursor, but it seems like the click action has been unbound somehow. Click actions don't even produce an error in the javascript console.

Observed on Safari 4.0.4 and Firefox 3.5.5 (Mac OS 10.5).
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Nov 25, 2009, 9:29 AM

Post #2 of 3 (619 views)
Permalink
[Bricolage #120] Adding elements in story profile fails on first attempt, kills Save/Check In/Cancel buttons on second attempt [In reply to]

// Add your reply above here
==================================================
phillipadsmith updated this ticket at November 25th, 2009 @ 05:29 PM

Hey there Aaron,

As soon as I have my main computer back (at the shop), I'll see if I can reproduce this.

Phillip.
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Nov 29, 2009, 6:01 AM

Post #3 of 3 (590 views)
Permalink
[Bricolage #120] Adding elements in story profile fails on first attempt, kills Save/Check In/Cancel buttons on second attempt [In reply to]

// Add your reply above here
==================================================
Krzysztof Rudnik updated this ticket at November 29th, 2009 @ 02:01 PM

I can reproduce this bug.

With a little help of firebug I've noticed that
clicking "Add Subelement", "Save" and "Save or Stay"
on Element Type profile page
gives js error:
$(element) not defined

Function confirmChanges in lib.js /line 580/
contains
// Check for slug.
if (typeof obj["slug"] != "undefined") {
if (!validateStory(obj)) {
// The slug isn't valid! Return false.
confirming = false;
return false;
}
}
// Check for invalid category.
// the line below produces an error; no 'new_cat_warning' obj on this page
if (Element.visible('new_cat_warning')) {
// The cateogry isn't valid. Return false.
alert('Please select a valid category');
confirming = false;
return false;
}
I've added an existence checking as in "slug" case above
// Check for invalid category.
if (typeof obj["new_cat_warning"] != "undefined") {
if (Element.visible('new_cat_warning')) {
// The cateogry isn't valid. Return false.
alert('Please select a valid category');
confirming = false;
return false;
}
}
and Element Profile page works now
but I am absolutely not sure if this modification
is a solution of the problem and will not produce errors elsewhere
regards
Krzysztof
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/120-adding-elements-in-story-profile-fails-on-first-attempt-kills-savecheck-incancel-buttons-on-second-attempt/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com

Bricolage bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.