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

Mailing List Archive: Bricolage: bugs

[Bricolage #143] Adding new media - primary category error

 

 

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


no-reply at lighthouseapp

Mar 9, 2010, 5:57 PM

Post #1 of 9 (1439 views)
Permalink
[Bricolage #143] Adding new media - primary category error

// Add your reply above here
==================================================
Vince updated this ticket at March 10th, 2010 @ 01:57 AM

# Problem: #

When creating new media, on the Media Profile page, I get the
following error when I try to add an element.

Whoops!
Please select a primary category.


# How to reproduce: #

Create a new element with Content type "**Media**".

**PUBLISHING >> Element Types >> Add a New Element Type**

I'll call it "*Text Media*".

* Select **Other Media** for the Content Type.
* Check **Fixed:**. (This may be unrelated)
* Create a custom text area field. I'll call it "Text".
* Under **ADD NEW FIELD**, select Text Area, and enter "text"
for the **Key Name** and "Text" for the **Label**.

Then goto **MEDIA >> New Media**.

* Select the new element type of **Text Media** from the **Media Type**
drop down.
* Set the category to an existing category, such as "/".
* Select **Create**.

Now in the **Media Profile**:

* Select **Add Element** and select the custom element type of **Text**,
and I get the error,

**
Whoops!
Please select a primary category.
**

---
**Bricolage version:** 1.11.3
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 9, 2010, 7:37 PM

Post #2 of 9 (1408 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 10th, 2010 @ 03:37 AM
* State changed from "new" to "open"
* Tag changed from ""media pimrary category whoops"" to "media "primary category" whoops"
* Milestone changed from "" to "2.0.0"

--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: open
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 9, 2010, 7:54 PM

Post #3 of 9 (1404 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 10th, 2010 @ 03:54 AM
* Assigned user changed from "Bugs (at bricolage)" to "theory"
Hrm. I'm not able to replicate. Might have been fixed by [this commit](http://github.com/bricoleurs/bricolage/commit/d585611f67c4ba09027cc0d98bfa17a94f856f0c), though I kind of doubt it.

Now, I can make that error happen if I delete the category from the Category field. Might you somehow inadvertently be doing that?

—Theory
--------------------------------------------------------------------------------

Assigned: theory
State: open
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 9, 2010, 8:08 PM

Post #4 of 9 (1401 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
Vince updated this ticket at March 10th, 2010 @ 04:08 AM

No. That's the first thing I checked. I tested several times, also
with another category other than '/'. It is consistent.
--------------------------------------------------------------------------------

Assigned: theory
State: open
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 9, 2010, 8:15 PM

Post #5 of 9 (1408 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 10th, 2010 @ 04:15 AM

Can you `make upgrade` from a git clone? Or, if you don't have Git, just click the "Download Source" button [on GitHub](http://github.com/bricoleurs/bricolage/).

Thanks,

David
--------------------------------------------------------------------------------

Assigned: theory
State: open
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 10, 2010, 11:52 AM

Post #6 of 9 (1420 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 10th, 2010 @ 07:52 PM
* State changed from "open" to "hold"
I got this error yesterday when I had a bad category, then fixed it to be /, but the "Invalid category" message persisted. Something isn't being aggressive enough to clear that. Ummm…might be because I corrected it to "/" but the minimum number of characters before the autsuggest submitted was 2. As of [this commit](http://github.com/bricoleurs/bricolage/commit/c059ff876b9b11fe4117dc64b5bce3c6f123483c)it's 1 again, so I think that will fix the problem for you, too. Give it a try?

—Theory
--------------------------------------------------------------------------------

Assigned: theory
State: hold
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 10, 2010, 5:10 PM

Post #7 of 9 (1407 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
Vince updated this ticket at March 11th, 2010 @ 01:09 AM

I upgraded to the latest snapshot. Same problem.

Turns out that the error only appears when **ENABLE_CATEGORY_BROWSER** is
turned on in bricolage.conf. With it off, it works fine.
--------------------------------------------------------------------------------

Assigned: theory
State: hold
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 10, 2010, 5:31 PM

Post #8 of 9 (1401 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 11th, 2010 @ 01:31 AM
* State changed from "hold" to "open"

--------------------------------------------------------------------------------

Assigned: theory
State: open
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support [at] lighthouseapp or http://help.lighthouseapp.com


no-reply at lighthouseapp

Mar 22, 2010, 9:12 PM

Post #9 of 9 (1355 views)
Permalink
[Bricolage #143] Adding new media - primary category error [In reply to]

// Add your reply above here
==================================================
theory updated this ticket at March 23rd, 2010 @ 04:12 AM
* State changed from "open" to "resolved"
[Fixed](http://github.com/bricoleurs/bricolage/commit/d03780c222e5630c22e2318741ce394b67feee54), thanks!

David
--------------------------------------------------------------------------------

Assigned: theory
State: resolved
Milestone: 2.0.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/143-adding-new-media-primary-category-error/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.