Bug 286014 - Kreml Exporter error when trying to open a recipe
Summary: Kreml Exporter error when trying to open a recipe
Status: RESOLVED FIXED
Alias: None
Product: krecipes
Classification: Applications
Component: general (show other bugs)
Version: 2.0-beta1
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 16:17 UTC by Frank Luet
Modified: 2015-02-21 14:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.1
Sentry Crash Report:


Attachments
File exported in kreml format per error message instructions. (5.96 KB, application/octet-stream)
2011-11-07 16:17 UTC, Frank Luet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Luet 2011-11-07 16:17:08 UTC
Created attachment 65352 [details]
File exported in kreml format per error message instructions.

Version:           2.0-beta1
OS:                Linux

I've imported a bunch of recipes, most that I've tried came up OK. This one caused an error. I am running Debian GNOME 2.30.2. Per the instructions I will attach the exported recipe file. If you need more infoI think I can find the import file.

Reproducible: Always

Steps to Reproduce:
Open "Cakes" folder
Double click "1-2-3-4 Cake (2)

Actual Results:  
I tried to cut and paste the error message but this came accross instead.

Quote
1-2-3-4 Cake (2)

Categories: Cakes
Preparation Time: 00:00

1 cup butter
1 cup milk
1 teaspoon vanilla
2 cups sugar
0.5 teaspoon salt
3 cups flour
3 teaspoons baking powder
4 eggs
2 Unsweetened chocolate
1.5 cups Confectioners sugar
1 Egg, beaten
1 teaspoon vanilla

ea CHOCOLATE ICING                   1/2 c butter CAKE: Cream
  butter until fluffy.  Add sugar and cream well. Add eggs one at a time.
  Beat well.  Sift flour, baking powder and salt together. Add alternating
  with milk ending with flour.  Beat on low speed. Add vanilla.
   Pour into greased, floured pans.  Makes three layers. Bake at 350 for 30
  minutes.  Test for doneness.
  CHOCOLATE ICING:  Melt butter and chocolate in double boiler. Remove from
  heat.  Blend sugar, egg, salt and vanilla into chocolate mixture. Beat
  until icing is creamy. Double for threelayers.
  
  From Gemini's MASSIVE MealMaster collection at www.synapse.com/~gemini

-----
Unquote

What is displayed on the screen:

Quote
Error: Problem with KreML exporter. Please export the recipe you are trying to view as KreML and attach it to a bug report to a Krecipes developer.
Unquote

Expected Results:  
Expected to see the recipe displayes as per normal. I was planning on changing the category from :"Cakes" to "Cake". I had done this to two prvious recipes.
Comment 1 Albert Astals Cid 2015-02-21 14:16:43 UTC
Git commit c475a8d25e90a0004a8ed7dd65c1315650622ce8 by Albert Astals Cid.
Committed on 21/02/2015 at 14:14.
Pushed by aacid into branch 'master'.

Filter out invalid xml chars when creating XML
FIXED-IN: 2.1

M  +9    -1    src/exporters/kreexporter.cpp

http://commits.kde.org/krecipes/c475a8d25e90a0004a8ed7dd65c1315650622ce8