主题 : 修改保存文*时出错(2.4版) |
级别: 秀才
|
1# 发表于:2010-01-18 15:33:22 IP:122.136.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
2# 发表于:2010-01-18 20:53:08 IP:59.140.*.*
感谢你的使用信息反馈
我们会进快收集这些存在的问题,到时会发布个修正的版本 |
||
---|---|---|---|
级别: 秀才
|
3# 发表于:2010-01-19 09:08:16 IP:122.136.*.*
自己跟踪了下,估计是你们测试完后没注销System.out.println(uploadFiles.size());导致了空指针;注销了就行了
com.jeecms.article.manager.impl.ArticleMngImpl.addAttachment() /** * 新增附件 * * @param entity * @param rule * @param web * @param user */ private void addAttachment(Article entity, UploadRule rule, User user, CmsMember member) { Website web = entity.getWebsite(); Map<String, UploadFile> uploadFiles = rule.getUploadFiles(); // System.out.println(uploadFiles.size()); if (uploadFiles != null) { String content = entity.getContent(); String titleImg = entity.getTitleImg(); String contentImg = entity.getContentImg(); Set<String> rmFile = new HashSet<String>(); Attachment attach; |
||
---|---|---|---|
1
共1页