Option to import categories of events when importing a calendar file



Import and Export
14 years ago
8 years ago


(Reporter: Michael, Unassigned)





14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

I would like to be able to add/update categories to the Calendar's category list
in large quantities.

I.e. I would initially remove probably all the default categories and then add
my desired categories.  It would be preferable to have a Category Import
Function reading new categories them from a text file.  

Additionally, I would also like to have the option to selectively import all new
categories found during a calendar import (.ics).  

Reproducible: Always
Steps to Reproduce:

Comment 1

13 years ago
I'm not too keen on the bulk add/remove idea.  There's only about a dozen
default categories.  For a one-time set-up, it's not all that difficult to click
'Remove' several times.  As far as bulk adding from CSV, with the new colors
option, that feature would be completely ignored.  Do you really have that many
categories you want to add?

On the other hand, there may be some merit in the idea of importing categories
from imported .ics files.  (If you created a quick .ics file with one event for
each category you wanted added, this could solve the bulk addition problem,
too.)  I can probably confirm this bug if only that feature is asked for.

So, do you want to fight for the CSV add/bulk removal and try to change my mind
or should this be restricted to importing categories from other .ics files?

Comment 2

13 years ago
Bulk add/remove is a convenience so I can make sure that all my users have
identical categories.  Especially for users that are not as careful when adding
new events.  But in priority, I would say a remove all (or install none
initially) is needed since I cringe to ask all my users to go through the UI and
remove them one at a time.  100 users, 10 categories results a lot of clicks and
a lot of explaining to challenged users.  But as for importing, if there is a
setting that will import all NEW categories automatically, then this will work
as a bulk import by creating a bunch of bogus events back in 1901 so nobody sees
these events.

Comment 3

13 years ago
(In reply to comment #2)

If you're trying to deploy those across many users, then you're probably better
off hacking the actual file yourself.  That way, if the preferences are reset to
the default, you won't have to change them again.  Instead, it will reset to the
categories you want.  I'm pretty sure the file you want is
/mozilla/calendar/resources/locale/en-US/categories.properties, but I haven't
had a chance to confirm this.  (Also, I don't think this will work once Sunbird
has been loaded, since the preference string is already set.  With a clean
profile and install, though, everything should work, in theory.)

If this does work, then your required user effort is nil.

Comment 4

13 years ago
You are correct for new installs. But existing is a problem today for me too. I
wish the category profile file was external so it was not a hack.   But again,
auto loading all new cats from an ics will do the rest if that is implemented.

Comment 5

13 years ago
Confirming for the ability to import the categories included in an .ics file
when importing the calendar file.
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Categories being added/removed in bulk → Option to import categories of events when importing a calendar file

Comment 6

13 years ago
Yes I would confirm this feature would suffice to the needs that I outlined.


13 years ago
QA Contact: gurganbl → sunbird
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o

Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody

Comment 8

10 years ago
Confirming ability to import from existing ics file.

Comment 9

10 years ago
Although existing event/task categories are imported, they are not added to the default list.  Hacking the main file is not something that I want to spend time doing, when other true customizations for my business need my resources.  

Even a series of patches that would allow the categories to be standardized on an enterprise install would be helpful.
Component: Sunbird Only → Import and Export
QA Contact: sunbird → import-export


10 years ago
Duplicate of this bug: 457010

Comment 11

8 years ago
Just ran to this bug: I installed a fresh new TB3.1 & Lightning 1.0b2, and imported a .ics file I had from a Sunbird calendar I used - and the few categories I made there and attached many events to were gone. Now all my events don't have a category attached to them, except those who attached to one of the default categories.
Is there a change to see this fixed for the final release of 1.0?
You need to log in before you can comment on or make changes to this bug.